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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user