Simplify calls to content_block helper

All calls were using `I18n.locale` as the second parameter, so we might
as well make it optional.
This commit is contained in:
Javi Martín
2021-05-07 00:04:45 +02:00
parent dae4aae328
commit bf10cf0c18
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<div class="small-12 medium-9 column">
<ul>
<%= raw content_block("subnavigation_left", I18n.locale) %>
<%= raw content_block("subnavigation_left") %>
<% if feature?(:debates) %>
<li>
@@ -59,6 +59,6 @@
</li>
<% end %>
<%= raw content_block("subnavigation_right", I18n.locale) %>
<%= raw content_block("subnavigation_right") %>
</ul>
</div>