aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-07-10 12:23:28 +0200
committerTeddy Wing2017-07-12 11:11:14 +0200
commit2215e9696dc435940a8a40ffb45c1a11d95e3ee9 (patch)
tree241343613a860af1b7dadf488433ca2a3447bd3a
parent6920db47172cb5b55f6bdeccb575821cbf3a9f10 (diff)
downloadchouette-core-2215e9696dc435940a8a40ffb45c1a11d95e3ee9.tar.bz2
RoutingConstraintZones#show: Fix breadcrumb
I had broken the breadcrumb by overriding `#show` here. Add in the `build_breadcrumb` call to make it appear again. Refs #3479
-rw-r--r--app/controllers/routing_constraint_zones_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/routing_constraint_zones_controller.rb b/app/controllers/routing_constraint_zones_controller.rb
index c526e6348..f019b5ea9 100644
--- a/app/controllers/routing_constraint_zones_controller.rb
+++ b/app/controllers/routing_constraint_zones_controller.rb
@@ -16,6 +16,8 @@ class RoutingConstraintZonesController < ChouetteController
referential: current_referential,
line: parent.id
})
+
+ build_breadcrumb :show
end
end