Module: Godmin::Authentication::User::ClassMethods
- Defined in:
- lib/godmin/authentication/user.rb
Instance Method Summary collapse
Instance Method Details
#find_by_login(login) ⇒ Object
17 18 19 |
# File 'lib/godmin/authentication/user.rb', line 17 def find_by_login(login) find_by(login_column => login) end |
#login_column ⇒ Object
21 22 23 |
# File 'lib/godmin/authentication/user.rb', line 21 def login_column raise NotImplementedError, "Must define the admin user login column" end |