summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
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 2586e85..8060f1c 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -16,7 +16,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