1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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