This commit is contained in:
yuanke 2016-08-22 14:34:42 +08:00
parent 75d81d5dba
commit d9e031c314
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ class WechatsController < ActionController::Base
if !(session["login"] != nil && session["login"] == false)
@path = '/login'
end
session["login"] = nil
session.delete("login")
else
if params[:state] == 'myclass'
@course_id = params[:id];