Skip to content

Commit

Permalink
Update mapping.rb (#5673)
Browse files Browse the repository at this point in the history
Fix grammar on comment for .find_scope! [ci skip]
  • Loading branch information
artinboghosian committed Feb 13, 2024
1 parent e2242a9 commit bb18f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Mapping #:nodoc:

alias :name :singular

# Receives an object and find a scope for it. If a scope cannot be found,
# Receives an object and finds a scope for it. If a scope cannot be found,
# raises an error. If a symbol is given, it's considered to be the scope.
def self.find_scope!(obj)
obj = obj.devise_scope if obj.respond_to?(:devise_scope)
Expand Down

0 comments on commit bb18f4d

Please sign in to comment.