Skip to content

Commit

Permalink
Merge pull request #1566 from tvdeyen/fix-resources-header-pluralization
Browse files Browse the repository at this point in the history
Fix pluralization of resource table header
  • Loading branch information
tvdeyen authored Apr 16, 2019
2 parents 2d6c0af + c476c56 commit a702a6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/alchemy/admin/resources/_table_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="resources-header">
<h2>
<%= pluralize resources_instance_variable.total_count, resource_model.model_name.human %>
<%= resources_instance_variable.total_count %>
<%= resource_model.model_name.human(count: resources_instance_variable.total_count) %>
</h2>
</div>

0 comments on commit a702a6b

Please sign in to comment.