Adding MeasurementRoutine selection/editing support
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# English strings go here for Rails i18n
|
||||
en:
|
||||
body_trackers_menu_caption: 'Body trackers'
|
||||
field_measurement_routine: 'Routine'
|
||||
field_readouts: 'Readouts'
|
||||
field_taken_at_date: 'Taken at'
|
||||
field_order: 'Order'
|
||||
|
||||
@@ -7,7 +7,7 @@ resources :projects, shallow: true do
|
||||
post 'defaults'
|
||||
end
|
||||
end
|
||||
resources :measurement_routines, only: [] do
|
||||
resources :measurement_routines, only: [:show, :edit] do
|
||||
member do
|
||||
get 'readouts', to: 'measurements#readouts'
|
||||
post 'toggle_column', to: 'measurements#toggle_column'
|
||||
|
||||
Reference in New Issue
Block a user