登陆退出偶尔报500

This commit is contained in:
lizanle 2015-11-06 16:11:12 +08:00
parent 284f94c8bd
commit bf1333ece9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class AccountController < ApplicationController
# prevents login action to be filtered by check_if_login_required application scope filter
skip_before_filter :check_if_login_required
protect_from_forgery :except => [:login,:logout]
# Login request and validation
def login
if request.get?