Update application_controller.rb
This commit is contained in:
parent
cc74145033
commit
9e666310cf
@ -45,7 +45,7 @@ class ApplicationController < ActionController::Base
|
||||
}
|
||||
|
||||
# 使用 Rails.logger 记录信息(both development and production)
|
||||
# Rails.logger.info "Browser Info: #{browser_info.to_json}"
|
||||
Rails.logger.info "Browser Info: #{browser_info.to_json}"
|
||||
|
||||
# 如果是被拦截的浏览器,记录额外信息
|
||||
unless browser_allowed?
|
||||
|
Loading…
Reference in New Issue
Block a user