Skip to content

Commit 4a90f0f

Browse files
committed
Fix govspeak deprecation warning
1 parent 57f5607 commit 4a90f0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/views/content_items/contact.html.erb

+3-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
<% end %>
100100
<% end %>
101101

102-
<%= render 'govuk_publishing_components/components/govspeak', content: body %>
102+
<%= render 'govuk_publishing_components/components/govspeak' do %>
103+
<%= body %>
104+
<% end %>
103105
</div>
104106
<%= render 'shared/sidebar_navigation' %>
105107
</div>

0 commit comments

Comments
 (0)