FIX: allow handling for avatars that are not in the set of "resized sizes"

This commit is contained in:
Sam
2015-05-26 15:41:50 +10:00
parent e17f614771
commit 147ea002f7
5 changed files with 58 additions and 9 deletions

View File

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