Method: Devise::Mapping#authenticatable?
- Defined in:
- lib/devise/mapping.rb
#authenticatable? ⇒ Boolean
96 97 98 |
# File 'lib/devise/mapping.rb', line 96 def authenticatable? @authenticatable ||= self.modules.any? { |m| m.to_s =~ /authenticatable/ } end |