diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-27 17:46:55 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-27 17:46:55 -0500 |
commit | 7b6c969acf68fa4cdb3b77559ff8af0eef8e5b1d (patch) | |
tree | c416fc4b06431c5c4776f1b6524f53248117bd26 /app | |
parent | 144a26c3e33dd0072d269b7d8df18268de3c1a04 (diff) |
call ability removed
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ability.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index 3ba4481..48cce84 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -131,7 +131,7 @@ class Ability # SipAccounts and Phones # - can [:read, :call], SipAccount, :sip_accountable_type => 'User', :sip_accountable_id => user.id + can :read, SipAccount, :sip_accountable_type => 'User', :sip_accountable_id => user.id user.sip_accounts.each do |sip_account| can :read, PhoneNumber, :id => sip_account.phone_number_ids can :manage, CallForward, :call_forwardable_id => sip_account.phone_number_ids |