mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -11,7 +11,7 @@ class AdminEmailTemplateSerializer < ApplicationSerializer
|
||||
if I18n.exists?("#{object}.title")
|
||||
I18n.t("#{object}.title")
|
||||
else
|
||||
object.gsub(/.*\./, '').titleize
|
||||
object.gsub(/.*\./, "").titleize
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user