mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Shorten some very long lines
Prevent warnings from already defined constants when reloading
This commit is contained in:
@@ -255,9 +255,7 @@ class TopicViewSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def topic_timer
|
||||
TopicTimerSerializer.new(
|
||||
object.topic.public_topic_timer, root: false
|
||||
)
|
||||
TopicTimerSerializer.new(object.topic.public_topic_timer, root: false)
|
||||
end
|
||||
|
||||
def tags
|
||||
|
||||
Reference in New Issue
Block a user