DEV: Correct Style/RedundantReturn rubocop issues (#23052)

This commit is contained in:
Jarek Radosz
2023-08-10 02:03:38 +02:00
committed by GitHub
parent 7954d34448
commit 94649565ce
10 changed files with 24 additions and 19 deletions

View File

@@ -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?