1
0

Added units view and sidebar link

This commit is contained in:
cryptogopher
2019-08-09 12:43:28 +02:00
parent 40f39a955c
commit 2cd9900cea
8 changed files with 30 additions and 6 deletions

View File

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

View File

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