summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-02 11:42:52 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-02 11:42:52 +0100
commitba5b2737365592cc511a526a3b14be46c3a75467 (patch)
treeb5f782af7817270fc610f7756082608d00685e19 /config
parentaad8a03991fe616f84fa18ed1db81831220f8d64 (diff)
Created a sortable table for the call_routes. #151
Diffstat (limited to 'config')
-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