mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
Refactor JSON API mime type registration [SCI-2687]
This commit is contained in:
parent
730ce96a43
commit
5c2f268471
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue