DEV: Apply Rubocop redundant return style

This commit is contained in:
Penar Musaraj
2019-11-14 15:10:51 -05:00
parent be15abcf7f
commit 067696df8f
30 changed files with 45 additions and 45 deletions

View File

@ -115,7 +115,7 @@ class ReviewableSerializer < ApplicationSerializer
end
def topic_url
return object.topic&.url
object.topic&.url
end
def include_topic_url?