aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorXinhui2017-10-20 15:37:43 +0200
committerXinhui2017-10-20 15:39:31 +0200
commit3d1a9601cac27dfb6b74c5f53e9042c246296928 (patch)
treeca68c66eb3d42dee4481197bd306f405c0a2fc3a /config
parentfccf690adb8769dc5050fa231a961b5e48146848 (diff)
downloadchouette-core-3d1a9601cac27dfb6b74c5f53e9042c246296928.tar.bz2
Breadcrumb for referential_stop_areas
Diffstat (limited to 'config')
-rw-r--r--config/breadcrumbs.rb10
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