summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-02 11:44:11 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-02 11:44:11 +0100
commitb8c39c59cf7e698d5653cc49fa746506a9c41e24 (patch)
treeb5f782af7817270fc610f7756082608d00685e19 /config/routes.rb
parentaad8a03991fe616f84fa18ed1db81831220f8d64 (diff)
parentba5b2737365592cc511a526a3b14be46c3a75467 (diff)
Merge branch 'sortable' into develop
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a0ac93a..9a3b3a3 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,16 +6,8 @@ Gemeinschaft42c::Application.routes.draw do
end
resources :call_routes do
- resources :route_elements do
- member do
- put 'move_higher'
- put 'move_lower'
- end
- end
- member do
- put 'move_higher'
- put 'move_lower'
- end
+ collection { post :sort }
+ resources :route_elements
end
resources :gateways do