mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Pluralize the heading on the index page generated with scaffold
This commit is contained in:
parent
b4ccee7a8a
commit
28a9b65f66
1 changed files with 1 additions and 1 deletions
|
@ -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 %> %>
|
||||
|
|
Loading…
Reference in a new issue