Fix #3603: Unable to view images on Hijiribe/Sonohara when Danbooru domain is blocked.

This commit is contained in:
evazion
2018-04-06 21:18:46 -05:00
parent 01eda51020
commit 1b14545d0d
4 changed files with 11 additions and 2 deletions

View File

@@ -172,6 +172,7 @@ class ApplicationController < ActionController::Base
def reset_current_user
CurrentUser.user = nil
CurrentUser.ip_addr = nil
CurrentUser.root_url = root_url
end
def set_started_at_session