summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-26 12:13:46 +0200
committerPeter Kozak <spag@golwen.net>2013-04-26 12:13:46 +0200
commit9784b4e513cb23fa9d6b169270d83a673fd5c644 (patch)
treed3b021559df4584a7d1423dfe8858286dc361c52 /app/models
parent433883b08761d5d89c491e0c454812c618ba2b01 (diff)
VoicemailSetting abilities
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ability.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 2725572..8718dc4 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -183,7 +183,7 @@ class Ability
#
can :read, VoicemailAccount
can :manage, VoicemailMessage
- can :manage, VoicemailSetting
+ can [:read, :edit, :update], VoicemailSetting
can :manage, GenericFile, :owner_type => 'User', :owner_id => user.id