Method: Underworld::AdminOnlyPolicy::Scope#initialize
- Defined in:
- app/policies/underworld/admin_only_policy.rb
#initialize(user, scope) ⇒ Scope
Returns a new instance of Scope.
57 58 59 60 |
# File 'app/policies/underworld/admin_only_policy.rb', line 57 def initialize(user, scope) @@user = @user @scope = scope end |