Skip to content

Commit fbf70a2

Browse files
authored
Merge pull request rails#43246 from DRBragg/drbragg/pluralize_scaffold_index_page_heading
Pluralize the heading on the index page generated with scaffold
2 parents 4db4207 + 28a9b65 commit fbf70a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/erb/scaffold/templates/index.html.erb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p id="notice"><%%= notice %></p>
22

3-
<h1><%= human_name %></h1>
3+
<h1><%= human_name.pluralize %></h1>
44

55
<div id="<%= plural_table_name %>">
66
<%%= render @<%= plural_table_name %> %>

0 commit comments

Comments
 (0)