Skip to content

Commit 2e7f392

Browse files
committed
Fixing standardrb errors
1 parent 5c4e145 commit 2e7f392

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/components/cms_rich_text_block_text_component.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SubClasses should not include any indentation and should make use of
33
# `-` at the end of ERB tags
44
class CmsRichTextBlockTextComponent < ViewComponent::Base
5-
def build(blocks, **options)
5+
def build(blocks, **)
66
klass =
77
case blocks
88
in { type: "paragraph" } then Paragraph
@@ -14,7 +14,7 @@ def build(blocks, **options)
1414
in { type: "quote"} then Quote
1515
end
1616

17-
klass.new(blocks: blocks, **options)
17+
klass.new(blocks: blocks, **)
1818
end
1919

2020
erb_template <<~ERB

app/services/cms/collections/email_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def self.is_collection = true
55

66
def self.collection_attribute_mappings
77
[
8-
{model: Cms::Models::EmailTemplate, key: nil, param_name: :template},
8+
{model: Cms::Models::EmailTemplate, key: nil, param_name: :template}
99
]
1010
end
1111

0 commit comments

Comments
 (0)