mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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