aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-08-07 11:45:03 +0200
committerRobert2017-08-11 10:03:46 +0200
commit05417c824f043665cb46d9f837aaf66cd8b787e4 (patch)
tree0cd1cdf119fd531c800b9802dd2609ea40a5bd1f /config/routes.rb
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 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0ed401cf5..b738c0943 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -110,6 +110,8 @@ ChouetteIhm::Application.routes.draw do
member do
get 'edit_boarding_alighting'
put 'save_boarding_alighting'
+ get 'duplicate'
+ post 'duplicate'
end
resource :journey_patterns_collection, :only => [:show, :update]
resources :journey_patterns do