Shorten some very long lines

Prevent warnings from already defined constants when reloading
This commit is contained in:
Régis Hanol
2017-08-12 04:18:04 +02:00
parent c2061aae3d
commit 75e4f7f896
5 changed files with 23 additions and 32 deletions

View File

@@ -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