lib/access-granted/controller_methods.rb in access-granted-0.0.2 vs lib/access-granted/controller_methods.rb in access-granted-0.1.0

- old
+ new

@@ -3,10 +3,10 @@ def current_policy @current_policy ||= ::Policy.new(current_user) end def self.included(base) - base.helper_method :can?, :cannot?, :current_ability + base.helper_method :can?, :cannot?, :current_policy end def can?(*args) current_policy.can?(*args) end