diff options
Diffstat (limited to 'railties/lib/generators/erb/scaffold/templates/show.html.erb')
-rw-r--r-- | railties/lib/generators/erb/scaffold/templates/show.html.erb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/lib/generators/erb/scaffold/templates/show.html.erb b/railties/lib/generators/erb/scaffold/templates/show.html.erb deleted file mode 100644 index 24f13fc0f8..0000000000 --- a/railties/lib/generators/erb/scaffold/templates/show.html.erb +++ /dev/null @@ -1,10 +0,0 @@ -<% for attribute in attributes -%> -<p> - <b><%= attribute.human_name %>:</b> - <%%= @<%= singular_name %>.<%= attribute.name %> %> -</p> - -<% end -%> - -<%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> | -<%%= link_to 'Back', <%= plural_name %>_path %> |