mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Correct Style/RedundantReturn rubocop issues (#23052)
This commit is contained in:
@@ -191,7 +191,8 @@ module Onebox
|
||||
return image_html if is_image?
|
||||
return embedded_html if is_embedded?
|
||||
return card_html if is_card?
|
||||
return article_html if (has_text? || is_image_article?)
|
||||
|
||||
article_html if (has_text? || is_image_article?)
|
||||
end
|
||||
|
||||
def is_card?
|
||||
|
||||
Reference in New Issue
Block a user