We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4ab6e2 commit 33c5636Copy full SHA for 33c5636
app/controllers/better_together/platforms_controller.rb
@@ -69,10 +69,9 @@ def platform_params
69
permitted_attributes = %i[
70
slug url time_zone privacy
71
]
72
- # rubocop:todo Metrics/CollectionLiteralLength
73
css_block_attrs = [{ css_block_attributes: %i[id type identifier] +
74
- BetterTogether::Content::Css.extra_permitted_attributes +
75
- BetterTogether::Content::Css.localized_attribute_list }]
+ BetterTogether::Content::Css.extra_permitted_attributes +
+ BetterTogether::Content::Css.localized_attribute_list }]
76
77
params.require(:platform).permit(
78
permitted_attributes,
0 commit comments