aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/routes_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb
index 7e10366b3..852477c5c 100644
--- a/app/controllers/routes_controller.rb
+++ b/app/controllers/routes_controller.rb
@@ -71,6 +71,8 @@ class RoutesController < ChouetteController
def duplicate
@route = Chouette::Route.find(params[:id])
+ @line = @route.line
+ build_breadcrumb(:edit)
end
protected