summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6145765..46562eb 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,7 +1,7 @@
Gemeinschaft42c::Application.routes.draw do
+ # To-Do: Delete these two entries and remap path on the views.
resources :pager_group_destinations
-
resources :pager_groups
namespace :api, defaults: {format: 'json'} do
@@ -9,6 +9,7 @@ Gemeinschaft42c::Application.routes.draw do
resources :switchboards, :only => [:show, :index]
resources :switchboard_entries, :only => [:show, :index]
resources :sip_accounts, :only => [:show, :index]
+ resources :pager_groups
resources :phone_numbers, :only => [:show, :index]
end