1
0

Added Ingredient#toggle and dimming hidden items

This commit is contained in:
cryptogopher
2019-10-27 22:18:00 +01:00
parent 3cec0847df
commit 67efb6c6bc
8 changed files with 54 additions and 32 deletions

View File

@@ -7,6 +7,7 @@ resources :projects do
post 'defaults', on: :collection
end
resources :ingredients, :only => [:index, :create, :destroy] do
post 'toggle', on: :member
post 'import', on: :collection
get 'nutrients', on: :collection
end