mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
@ -115,7 +115,7 @@ class ReviewableSerializer < ApplicationSerializer
|
||||
end
|
||||
|
||||
def topic_url
|
||||
return object.topic&.url
|
||||
object.topic&.url
|
||||
end
|
||||
|
||||
def include_topic_url?
|
||||
|
Reference in New Issue
Block a user