diff options
| author | Xinhui | 2017-10-20 15:37:43 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-10-20 15:39:31 +0200 | 
| commit | 3d1a9601cac27dfb6b74c5f53e9042c246296928 (patch) | |
| tree | ca68c66eb3d42dee4481197bd306f405c0a2fc3a /config/breadcrumbs.rb | |
| parent | fccf690adb8769dc5050fa231a961b5e48146848 (diff) | |
| download | chouette-core-3d1a9601cac27dfb6b74c5f53e9042c246296928.tar.bz2 | |
Breadcrumb for referential_stop_areas
Diffstat (limited to 'config/breadcrumbs.rb')
| -rw-r--r-- | config/breadcrumbs.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/config/breadcrumbs.rb b/config/breadcrumbs.rb index ed655bb31..61d1592b6 100644 --- a/config/breadcrumbs.rb +++ b/config/breadcrumbs.rb @@ -146,6 +146,16 @@ crumb :journey_patterns do |referential, route|    parent :route, referential, route  end +crumb :referential_stop_areas do |referential| +  link I18n.t('stop_areas.index.title'), referential_stop_areas_path(referential) +  parent :referential, referential +end + +crumb :referential_stop_area do |referential, stop_area| +  link stop_area.name, referential_stop_area_path(referential, stop_area) +  parent :referential_stop_areas, referential +end +  # crumb :compliance_controls do|compliance_control_sets|  #   link  #   parent :compliance_control_sets, compliance_control_sets | 
