aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/stop_areas_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-07-11 18:48:42 +0200
committerTeddy Wing2017-07-12 11:11:14 +0200
commitef937098ef2c5e7ad8a05c5d84b8a201cb6358e8 (patch)
tree8789af620646b83a9db828523b3cd704e8766ed4 /app/controllers/stop_areas_controller.rb
parentdc155d36bdf0dc1c056888794586fca10c1f11b0 (diff)
downloadchouette-core-ef937098ef2c5e7ad8a05c5d84b8a201cb6358e8.tar.bz2
StopAreaReferentials#show: Move header links to decorator
On the http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139416 page, move the header links into a decorator to allow us to use them in the table of stop areas on StopAreaReferentials#index. Refs #3479
Diffstat (limited to 'app/controllers/stop_areas_controller.rb')
-rw-r--r--app/controllers/stop_areas_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/stop_areas_controller.rb b/app/controllers/stop_areas_controller.rb
index ae3edbd3e..e97aad8d3 100644
--- a/app/controllers/stop_areas_controller.rb
+++ b/app/controllers/stop_areas_controller.rb
@@ -90,6 +90,9 @@ class StopAreasController < BreadcrumbController
}
end
+
+ @stop_area = @stop_area.decorate
+
build_breadcrumb :show
end
end