#349: removed duplicate of ability

This commit is contained in:
Vokhmin Alexey V 2012-10-02 21:16:55 +04:00
parent cb994c6fd6
commit ecae06db81
1 changed files with 0 additions and 1 deletions

View File

@ -50,7 +50,6 @@ class Ability
end
if user.user?
can :show, User
can [:read, :create], Group
can [:update, :manage_members], Group do |group|
group.actors.exists?(:actor_type => 'User', :actor_id => user.id, :role => 'admin') # or group.owner_id = user.id