Typo:Corrected the typo of sign-in in User Model

This commit is contained in:
Yatish Mehta 2013-10-03 14:34:51 +05:30
parent 1a6ba7e640
commit 9d622bd790
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class User < ActiveRecord::Base
# Class methods
#
class << self
# Devise method overridden to allow sing in with email or username
# Devise method overridden to allow sign in with email or username
def find_for_database_authentication(warden_conditions)
conditions = warden_conditions.dup
if login = conditions.delete(:login)