mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: use short_path of flair upload to get signed url for secure media.
If we use `upload.url` for secure urls then the images won't render.
This commit is contained in:
@@ -750,7 +750,7 @@ class Group < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def flair_url
|
||||
flair_icon.presence || flair_upload&.url
|
||||
flair_icon.presence || flair_upload&.short_path
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
Reference in New Issue
Block a user