summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 17:31:13 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 17:31:13 +0100
commitfc535da83c53f37fbc03caf72f61c01494ba6048 (patch)
tree8e545072f939fd7c2ca8bd568e54a4f6ec317974 /app/controllers
parent5d5f3be8e3dd76d88bfca87c6af5175d39e6049c (diff)
load_resource :sip_account, :only => [:call]
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/sip_accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sip_accounts_controller.rb b/app/controllers/sip_accounts_controller.rb
index 022858c..ef1aab8 100644
--- a/app/controllers/sip_accounts_controller.rb
+++ b/app/controllers/sip_accounts_controller.rb
@@ -1,7 +1,7 @@
class SipAccountsController < ApplicationController
load_resource :user
load_resource :tenant
- #load_resource :sip_account
+ load_resource :sip_account, :only => [:call]
load_and_authorize_resource :sip_account, :through => [:user, :tenant ]
before_filter :set_and_authorize_parent