From 21995072fb0e57c8209460936c0e5b322a1547c3 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 3 Jun 2013 17:09:57 +0200 Subject: PagerGroup stuff --- config/routes.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/routes.rb') 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 -- cgit v1.2.3