more consistent behavior of CurrentUser.root_url

This commit is contained in:
Albert Yi
2018-08-15 16:08:10 -07:00
parent f88234e21d
commit 0314dc9751
4 changed files with 4 additions and 4 deletions

View File

@@ -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)