diff options
| author | cedricnjanga | 2017-11-22 00:45:48 +0100 |
|---|---|---|
| committer | cedricnjanga | 2017-11-22 00:45:48 +0100 |
| commit | 510afa8b86fb6f5e4b7d9c39e3a6d3b071cd8ce9 (patch) | |
| tree | 1b3a162722389df4f6b2e444d03e91131032f0d5 /app/controllers/routes_controller.rb | |
| parent | be2bd2e4f902ef12a21425ebe7dcf5699768762a (diff) | |
| parent | 96afaed78fa043449c0264ea09f0106147755c8e (diff) | |
| download | chouette-core-510afa8b86fb6f5e4b7d9c39e3a6d3b071cd8ce9.tar.bz2 | |
Merge branch 'master' into 4941-refactoring_object_id
Diffstat (limited to 'app/controllers/routes_controller.rb')
| -rw-r--r-- | app/controllers/routes_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb index 93f30f4d5..1a6c82484 100644 --- a/app/controllers/routes_controller.rb +++ b/app/controllers/routes_controller.rb @@ -68,7 +68,8 @@ class RoutesController < ChouetteController def duplicate route = Chouette::Route.find(params[:id]).duplicate - redirect_to edit_referential_line_route_path(@referential, route.line, route) + flash[:notice] = t('routes.duplicate.success') + redirect_to referential_line_path(@referential, route.line) end protected |
