summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 821cf73..369ec92 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,10 @@
Gemeinschaft42c::Application.routes.draw do
- resources :switchboards
+
+ resources :switchboards do
+ resources :switchboard_entries do
+ collection { post :sort }
+ end
+ end
resources :restore_jobs