diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-02 11:42:52 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-02 11:42:52 +0100 |
commit | ba5b2737365592cc511a526a3b14be46c3a75467 (patch) | |
tree | b5f782af7817270fc610f7756082608d00685e19 /config | |
parent | aad8a03991fe616f84fa18ed1db81831220f8d64 (diff) |
Created a sortable table for the call_routes. #151
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 12 |
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 |