Merge pull request #5262 from yatish27/master

Typo:Corrected the typo of sign-in in User Model
This commit is contained in:
Jacob Vosmaer 2013-10-03 06:21:05 -07:00
commit e8b9712d89
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class User < ActiveRecord::Base
# Class methods # Class methods
# #
class << self 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) def find_for_database_authentication(warden_conditions)
conditions = warden_conditions.dup conditions = warden_conditions.dup
if login = conditions.delete(:login) if login = conditions.delete(:login)