aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2009-10-08 14:34:15 +1300
committerMichael Koziarski <michael@koziarski.com>2009-10-08 14:34:15 +1300
commit28bd0873ff7aae8e5949dc77f1f8b78109cd38f1 (patch)
tree2f9ee9d091c2ac317703c24089f80e17a5d6babb /railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
parent0c27d0886e880f90240ad2004f1600c1b1c4bfed (diff)
downloadrails-28bd0873ff7aae8e5949dc77f1f8b78109cd38f1.tar.gz
rails-28bd0873ff7aae8e5949dc77f1f8b78109cd38f1.tar.bz2
rails-28bd0873ff7aae8e5949dc77f1f8b78109cd38f1.zip
Don't need h in there now that XSS protection is on by default
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold/templates/show.html.erb')
-rw-r--r--railties/lib/rails/generators/erb/scaffold/templates/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
index 25567957be..24f13fc0f8 100644
--- a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
+++ b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
@@ -1,7 +1,7 @@
<% for attribute in attributes -%>
<p>
<b><%= attribute.human_name %>:</b>
- <%%=h @<%= singular_name %>.<%= attribute.name %> %>
+ <%%= @<%= singular_name %>.<%= attribute.name %> %>
</p>
<% end -%>