Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
killondark authored and palkan committed May 22, 2024
1 parent a635104 commit 2c7b52d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/action_policy/policy/scoping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ def included(base)
# If `type` is not specified then we try to infer the type from the
# target class.
def apply_scope(target, type:, name: :default, scope_options: nil)
# binding.pry

raise ActionPolicy::UnknownScopeType.new(self.class, type) unless
self.class.scoping_handlers.key?(type)

Expand Down

0 comments on commit 2c7b52d

Please sign in to comment.