diff options
author | Thiago Pinto <tapgyn@gmail.com> | 2015-07-20 22:16:38 -0300 |
---|---|---|
committer | Thiago Pinto <tapgyn@gmail.com> | 2015-07-20 22:20:39 -0300 |
commit | 1acf0f0ebdf9311aee81ad74576999fad37280fc (patch) | |
tree | 6a7cba254f6212e5660a38fddf1fde37e1f674db /railties/lib/rails/generators/erb/scaffold/templates | |
parent | a2bb266a7f546edfba8e82e75f1f01bb359f7bbd (diff) | |
download | rails-1acf0f0ebdf9311aee81ad74576999fad37280fc.tar.gz rails-1acf0f0ebdf9311aee81ad74576999fad37280fc.tar.bz2 rails-1acf0f0ebdf9311aee81ad74576999fad37280fc.zip |
titleizing the New Link
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold/templates')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb index c3b8ef1181..5f4904fee1 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb @@ -28,4 +28,4 @@ <br> -<%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %> +<%%= link_to 'New <%= singular_table_name.titleize %>', new_<%= singular_table_name %>_path %> |