Merge pull request #43246 from DRBragg/drbragg/pluralize_scaffold_index_page_heading

Pluralize the heading on the index page generated with scaffold
This commit is contained in:
Kasper Timm Hansen 2021-09-18 01:36:07 +02:00 committed by GitHub
commit fbf70a2005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<p id="notice"><%%= notice %></p>
<h1><%= human_name %></h1>
<h1><%= human_name.pluralize %></h1>
<div id="<%= plural_table_name %>">
<%%= render @<%= plural_table_name %> %>