Update notes in div
This commit is contained in:
@@ -19,7 +19,7 @@ en:
|
||||
field_code: 'Formula'
|
||||
field_shortname: 'Short name'
|
||||
button_eat: 'Eat'
|
||||
button_note: 'Note'
|
||||
button_notes: 'Notes'
|
||||
button_retake: 'Retake'
|
||||
button_child: 'Child'
|
||||
activerecord:
|
||||
|
||||
@@ -12,7 +12,8 @@ resources :projects, shallow: true do
|
||||
end
|
||||
resources :meals, only: [:index, :new, :create, :edit, :update, :destroy] do
|
||||
member do
|
||||
post 'note'
|
||||
get 'edit_notes'
|
||||
patch 'update_notes'
|
||||
post 'toggle_eaten'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user