pre_develop
jingquan huang 6 years ago
commit 228deb4794

@ -352,6 +352,8 @@ class ApplicationController < ActionController::Base
end end
def require_login def require_login
logger.info("#########login?: #{User.current.logged?}")
logger.info("#########get?: #{request.get?}")
if !User.current.logged? if !User.current.logged?
# Extract only the basic url parameters on non-GET requests # Extract only the basic url parameters on non-GET requests
if request.get? if request.get?

Loading…
Cancel
Save