aboutsummaryrefslogtreecommitdiffstats
path: root/config/breadcrumbs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/breadcrumbs.rb')
-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