Method: ActionPolicy::Behaviours::PolicyFor#implicit_authorization_target

Defined in:
lib/action_policy/behaviours/policy_for.rb

#implicit_authorization_targetObject

Override this method to provide implicit authorization target that would be used in case record is not specified in authorize! and allowed_to? call.

It is also used to infer a policy for scoping (in authorized_scope method).



44
45
46
# File 'lib/action_policy/behaviours/policy_for.rb', line 44

def implicit_authorization_target
  # no-op
end