mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserWordpressSerializer < BasicUserSerializer
|
||||
|
||||
def avatar_template
|
||||
if Hash === object
|
||||
UrlHelper.absolute User.avatar_template(user[:username], user[:uploaded_avatar_id])
|
||||
@ -9,5 +8,4 @@ class UserWordpressSerializer < BasicUserSerializer
|
||||
UrlHelper.absolute object.avatar_template
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user