Added units view and sidebar link
This commit is contained in:
@@ -5,4 +5,9 @@ en:
|
||||
index:
|
||||
heading: 'Summary'
|
||||
sidebar:
|
||||
heading_body_trackers: 'Body trackers'
|
||||
heading_common: 'Common'
|
||||
link_summary: 'Summary'
|
||||
link_units: 'Units'
|
||||
units:
|
||||
heading: 'Units'
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
resources :projects do
|
||||
shallow do
|
||||
resources :body_trackers, :controller => 'body_trackers', :only => [:index]
|
||||
resources :body_trackers, :controller => 'body_trackers', :only => [:index] do
|
||||
collection do
|
||||
get 'units'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user