Method: Tenon::ApplicationPolicy::Scope#initialize
- Defined in:
- app/policies/tenon/application_policy.rb
#initialize(user, scope) ⇒ Scope
Returns a new instance of Scope.
53 54 55 56 |
# File 'app/policies/tenon/application_policy.rb', line 53 def initialize(user, scope) @user = user @scope = scope end |