mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
fix the build
This commit is contained in:
parent
8128abe6b9
commit
29f25dbf6e
@ -39,7 +39,7 @@ class UserAvatar < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.local_avatar_url(hostname, username, upload_id, size)
|
||||
self.local_avatar_template(hostname, username, upload_id).gsub("{size}", size)
|
||||
self.local_avatar_template(hostname, username, upload_id).gsub("{size}", size.to_s)
|
||||
end
|
||||
|
||||
def self.local_avatar_template(hostname, username, upload_id)
|
||||
@ -48,7 +48,7 @@ class UserAvatar < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.external_avatar_url(user_id, upload_id, size)
|
||||
self.external_avatar_template(user_id, upload_id).gsub("{size}", size)
|
||||
self.external_avatar_template(user_id, upload_id).gsub("{size}", size.to_s)
|
||||
end
|
||||
|
||||
def self.external_avatar_template(user_id, upload_id)
|
||||
|
Loading…
Reference in New Issue
Block a user