lib/minican/controller_additions.rb
def can?(method, object, user = current_user)
      policy = policy_for(object)
      policy.can?(method, user)
    end
def can?(method, object, user = current_user)
      policy = policy_for(object)
      policy.can?(method, user)
    end
def can? ( method , object , user = current_user ) policy = policy_for ( object ) policy . can? ( method , user ) end
Helper method available in controllers and views
 that returns the value of the policy method

 @param (see #authorize!)
 @return (Boolean)

 @visibility public
Helper method available in controllers and views that returns the value of the policy method