1
0
Fork 0
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:
Drew 2021-09-17 19:14:00 -04:00
parent b4ccee7a8a
commit 28a9b65f66

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 %> %>