mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
@ -27,7 +27,7 @@ class IntroductionUpdater
|
||||
protected
|
||||
|
||||
def summary_from_post(post)
|
||||
return post ? post.raw.split("\n").first : nil
|
||||
post ? post.raw.split("\n").first : nil
|
||||
end
|
||||
|
||||
def find_welcome_post
|
||||
|
Reference in New Issue
Block a user