summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-12 13:26:30 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-12 13:26:30 +0100
commitf8f35f666613eff24d3988bda1a22cc40ef2ab30 (patch)
treeaa6ed467ba56ea74b0061af4d06cfb9b853da489 /config/routes.rb
parentaa5a2b806d117ffde9888e282c7100066156d94b (diff)
Make the call_elements table sortable by drag and drop.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 05d09dc..6d7a2ad 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -14,7 +14,9 @@ Gemeinschaft42c::Application.routes.draw do
post :sort
get :show_variables
}
- resources :route_elements
+ resources :route_elements do
+ collection { post :sort }
+ end
end
resources :gateways do