mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +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 :teams, only: %i(index show) do
|
||||||
resources :inventories, only: %i(index show) do
|
resources :inventories, only: %i(index show) do
|
||||||
get 'columns', to: 'inventory_columns#index'
|
get 'columns', to: 'inventory_columns#index'
|
||||||
resources :inventory_items,
|
resources :inventory_items, only: %i(index create),
|
||||||
only: %i(index create),
|
path: 'items',
|
||||||
path: 'items',
|
as: :items
|
||||||
as: :items
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
resources :users, only: %i(show) do
|
resources :users, only: %i(show) do
|
||||||
|
|
Loading…
Add table
Reference in a new issue