diff --git a/config/routes.rb b/config/routes.rb index 5c3819723..0c8dffe3c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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