1
0

Adding MeasurementRoutine selection/editing support

This commit is contained in:
cryptogopher
2020-04-02 02:23:53 +02:00
parent 0c724ed63f
commit 9f63c14f8a
15 changed files with 94 additions and 21 deletions

View File

@@ -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'

View File

@@ -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'