-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
titleizing the New Link #17109
titleizing the New Link #17109
Conversation
@@ -28,4 +28,4 @@ | |||
|
|||
<br> | |||
|
|||
<%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %> | |||
<%%= link_to 'New <%= human_name.titleize %>', new_<%= singular_table_name %>_path %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
considering we don't use human_name
anywhere else we should change it to singular_table_name.titleize
.
I believe we already had this same pull request and we rejected because it made the name looks more artificial, not for humans. Thank you for the pull request. |
Just saw we are already using |
@rafaelfranca shall we keep it consistent? |
@thejamespinto yes, please change for what @senny suggested and I'll merge. |
@rafaelfranca there we go 👍 |
No description provided.