removing apparently unnecessary user attr_accessor in Ability
This commit is contained in:
parent
d9f3c8b0ae
commit
ecf2818a9e
|
@ -16,8 +16,6 @@ module CanCan
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
module Ability
|
module Ability
|
||||||
attr_accessor :user
|
|
||||||
|
|
||||||
# Use to check the user's permission for a given action and object.
|
# Use to check the user's permission for a given action and object.
|
||||||
#
|
#
|
||||||
# can? :destroy, @project
|
# can? :destroy, @project
|
||||||
|
|
Loading…
Reference in New Issue
Block a user