aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTeddy Wing2017-08-07 11:45:03 +0200
committerRobert2017-08-11 10:03:46 +0200
commit05417c824f043665cb46d9f837aaf66cd8b787e4 (patch)
tree0cd1cdf119fd531c800b9802dd2609ea40a5bd1f /app
parent70c04d2727179308e98d704c78a668c425b223b9 (diff)
downloadchouette-core-05417c824f043665cb46d9f837aaf66cd8b787e4.tar.bz2
Add routes to Routes#duplicate
A couple of new routes for a form that will allow us to duplicate an itinéraire/route inside a line. Refs #4189
Diffstat (limited to 'app')
-rw-r--r--app/controllers/routes_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb
index 7ba2c1a58..6455cb2da 100644
--- a/app/controllers/routes_controller.rb
+++ b/app/controllers/routes_controller.rb
@@ -69,6 +69,9 @@ class RoutesController < ChouetteController
end
end
+ def duplicate
+ end
+
# def update
# update! do |success, failure|
# success.html { redirect_to referential_line_path(@referential,@line) }