Skip to content

Commit

Permalink
Fix rubocop issues in table helper
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtrussler committed May 24, 2024
1 parent 759d4f6 commit a82872b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/table_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def self.helper(context, caption = nil, opt = {})
caption_classes = %w[govuk-table__caption]
caption_classes << opt[:caption_classes] if opt[:caption_classes]

context.tag.table class: classes, id: opt[:table_id], data: {module: 'mainstream-table'} do
context.tag.table class: classes, id: opt[:table_id], data: { module: "mainstream-table" } do
context.concat context.tag.caption caption, class: caption_classes
yield(builder)
end
Expand Down

0 comments on commit a82872b

Please sign in to comment.