Refactor JSON API mime type registration [SCI-2687]

This commit is contained in:
Oleksii Kriuchykhin 2018-08-23 16:48:27 +02:00
parent 730ce96a43
commit 5c2f268471

View file

@ -545,10 +545,9 @@ Rails.application.routes.draw do
resources :teams, only: %i(index show) do
resources :inventories, only: %i(index show) do
get 'columns', to: 'inventory_columns#index'
resources :inventory_items,
only: %i(index create),
path: 'items',
as: :items
resources :inventory_items, only: %i(index create),
path: 'items',
as: :items
end
end
resources :users, only: %i(show) do