Adding Meals, WIP
This commit is contained in:
@@ -55,6 +55,7 @@ en:
|
||||
heading_diet: 'Diet'
|
||||
heading_common: 'Common'
|
||||
link_summary: 'Summary'
|
||||
link_meals: 'Meals'
|
||||
link_measurements: 'Measurements'
|
||||
link_ingredients: 'Ingredients'
|
||||
link_nutrients: 'Nutrients'
|
||||
|
||||
@@ -7,6 +7,7 @@ resources :projects, shallow: true do
|
||||
post 'defaults'
|
||||
end
|
||||
end
|
||||
resources :meals, only: [:index, :new, :create, :edit, :update, :destroy]
|
||||
resources :measurement_routines, only: [:show, :edit] do
|
||||
member do
|
||||
get 'readouts', to: 'measurements#readouts'
|
||||
|
||||
Reference in New Issue
Block a user