Skip to content

Commit

Permalink
Add brackets to arguments in view
Browse files Browse the repository at this point in the history
There is an open bug in Packwerk when shorthand hash syntax is used in
views (Shopify/packwerk#278). Adding brackets
seems to fix it
  • Loading branch information
pezholio committed Jun 17, 2024
1 parent 27f8239 commit 0445b45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/shared/_featurable_editions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<%= render "admin/editions/filter_options", filter_by:, filter_action:, anchor: %>
<%= render("admin/editions/filter_options", filter_by:, filter_action:, anchor:) %>
</div>
<div class="govuk-grid-column-two-thirds">
<div class="app-view-features-search-results__table" aria-label="Search results">
<%= render "admin/featurable_editions/search_results", featurable_editions:, paginator:, anchor:, feature_path: %>
<%= render("admin/featurable_editions/search_results", featurable_editions:, paginator:, anchor:, feature_path:) %>
</div>
</div>
</div>

0 comments on commit 0445b45

Please sign in to comment.