aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorXinhui2016-12-05 11:38:11 +0100
committerXinhui2016-12-05 11:38:11 +0100
commitc18839ee89fdc4e82be9bc25b148117a96ecc3c7 (patch)
treef79c34d7baf2f7cb2aa355b150ad7a5d08c5675d /config
parentfc39661b701553e00a81970f4b2475e52b53633a (diff)
downloadchouette-core-c18839ee89fdc4e82be9bc25b148117a96ecc3c7.tar.bz2
Wip bulk_update action JourneyPatternsController
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 04d1875c9..f2a04c4b8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -100,9 +100,9 @@ ChouetteIhm::Application.routes.draw do
put 'save_boarding_alighting'
end
resources :journey_patterns do
- member do
- get 'new_vehicle_journey'
- end
+ get 'new_vehicle_journey', on: :member
+ post 'bulk_update', on: :collection
+
resource :route_sections_selector, path: 'sections' do
post 'selection'
end