aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThomas Haddad2017-01-04 11:10:15 +0100
committerThomas Haddad2017-01-04 11:10:15 +0100
commit9c08e8f9f42906f9be17a8fbce7fcd83dbd51179 (patch)
tree65e132910ffadab7534f4b5ad2257539f06b309b /config/routes.rb
parent9560056852d1d48767c5ed150bce4e3abffcca00 (diff)
parent66dc68487a6e8a826ec4d4ffcee2f34456488dea (diff)
downloadchouette-core-9c08e8f9f42906f9be17a8fbce7fcd83dbd51179.tar.bz2
Merge branch 'mission_redux'
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index c49b28a07..9d4141198 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -99,10 +99,9 @@ ChouetteIhm::Application.routes.draw do
get 'edit_boarding_alighting'
put 'save_boarding_alighting'
end
+ resource :journey_patterns_collection, :only => [:show, :update]
resources :journey_patterns do
- member do
- get 'new_vehicle_journey'
- end
+ get 'new_vehicle_journey', on: :member
resource :route_sections_selector, path: 'sections' do
post 'selection'
end