summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-22 12:15:54 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-22 12:15:54 +0100
commit52589919782d938a0ae007439a8d1a17a1056838 (patch)
treeb99060dbb2e56aa467203bf829e965c93e136d78 /config
parent5d15c975b7d4509d786ab7b95ec61ed7ad166b14 (diff)
parent186ce80e7b22920ea7d54c579f635eec2d1ee98f (diff)
Merge branch 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b25081a..22a36e5 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,10 @@
Gemeinschaft42c::Application.routes.draw do
+ scope :constraints => lambda{|req|%w(127.0.0.1).include? req.remote_addr} do
+ get "trigger/voicemail"
+ get "trigger/fax"
+ end
+
resources :call_routes do
resources :route_elements do
member do