summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-03 17:09:57 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-03 17:09:57 +0200
commit21995072fb0e57c8209460936c0e5b322a1547c3 (patch)
treef2d7dbb02ac37f433cad1b2ecc1398f1f91bd189 /config/routes.rb
parentcc6b71ffef4d781890cf7eef64ded71abb099a7f (diff)
PagerGroup stuff
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8120e6c..6145765 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,9 @@
Gemeinschaft42c::Application.routes.draw do
+ resources :pager_group_destinations
+
+ resources :pager_groups
+
namespace :api, defaults: {format: 'json'} do
namespace :v1 do
resources :switchboards, :only => [:show, :index]
@@ -315,6 +319,7 @@ Gemeinschaft42c::Application.routes.draw do
end
end
resources :voicemail_accounts
+ resources :pager_groups
end
resources :phones, :only => [] do