more consistent behavior of CurrentUser.root_url
This commit is contained in:
@@ -59,7 +59,7 @@ class CurrentUser
|
||||
end
|
||||
|
||||
def self.root_url
|
||||
Thread.current[:current_root_url] || "https://#{Danbooru.config.hostname}/"
|
||||
Thread.current[:current_root_url] || "https://#{Danbooru.config.hostname}"
|
||||
end
|
||||
|
||||
def self.root_url=(root_url)
|
||||
|
||||
Reference in New Issue
Block a user