Rename ability

This commit is contained in:
kikito
2015-12-16 18:44:27 +01:00
parent 0c96b2da8d
commit 60e78e58fa

View File

@@ -41,7 +41,7 @@ module Abilities
end
can :create, Annotation
can [:update, :delete], Annotation, user_id: user.id
can [:update, :destroy], Annotation, user_id: user.id
end
end