Checks if a valid scope was given for devise and find mapping based on this scope.
# File lib/devise/strategies/base.rb, line 11 def mapping @mapping ||= begin mapping = Devise.mappings[scope] raise "Could not find mapping for #{scope}" unless mapping mapping end end
Generated with the Darkfish Rdoc Generator 2.