mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: allow handling for avatars that are not in the set of "resized sizes"
This commit is contained in:
@ -2,4 +2,8 @@ module GlobalPath
|
||||
def path(p)
|
||||
"#{GlobalSetting.relative_url_root}#{p}"
|
||||
end
|
||||
|
||||
def cdn_path(p)
|
||||
"#{GlobalSetting.cdn_url}#{path(p)}"
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user