Skip to content

Commit

Permalink
Use helper method to format data from presenter.
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Feb 25, 2025
1 parent 3567d66 commit 135caf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/specialist_document/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<%= content_tag :div, class: "important-metadata inverse-background responsive-bottom-margin" do %>
<%= render "govuk_publishing_components/components/metadata", {
inverse: true,
other: @specialist_document_presenter.important_metadata,
other: format_for_metadata_component(@specialist_document_presenter.important_metadata),
margin_bottom: 0,
} %>
<% end %>
Expand Down

0 comments on commit 135caf0

Please sign in to comment.