lib/generators/genesis_rails/install/files/templates/erb/scaffold/show.html.erb in genesis_rails-0.0.8 vs lib/generators/genesis_rails/install/files/templates/erb/scaffold/show.html.erb in genesis_rails-0.1.0
- old
+ new
@@ -1,6 +1,6 @@
<h1 class="text-center mb5">
- <%= singular_table_name.titleize %> - <%%= @<%= singular_table_name %> %>
+ <%= singular_table_name.titleize %> - <%%= @<%= singular_table_name %>.to_title %>
</h1>
<div class="text-center mb15">
<%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> |
<%%= link_to 'Back', <%= index_helper %>_path %>