Skip to content

Commit 33c5636

Browse files
committed
Rubocop fixes
1 parent a4ab6e2 commit 33c5636

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/controllers/better_together/platforms_controller.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ def platform_params
6969
permitted_attributes = %i[
7070
slug url time_zone privacy
7171
]
72-
# rubocop:todo Metrics/CollectionLiteralLength
7372
css_block_attrs = [{ css_block_attributes: %i[id type identifier] +
74-
BetterTogether::Content::Css.extra_permitted_attributes +
75-
BetterTogether::Content::Css.localized_attribute_list }]
73+
BetterTogether::Content::Css.extra_permitted_attributes +
74+
BetterTogether::Content::Css.localized_attribute_list }]
7675

7776
params.require(:platform).permit(
7877
permitted_attributes,

0 commit comments

Comments
 (0)