Skip to content
Browse files

Notice/alert are out of the layout, so notice has to go back into sho…

…w to make it work for scaffolding
  • Loading branch information...
1 parent e416f1d commit 915a0ac420b986b0f7e9b392e1641d7149545b08 @dhh dhh committed Apr 9, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
View
2 railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
@@ -1,3 +1,5 @@
+<p class="notice"><%= notice %></p>
+
<% for attribute in attributes -%>
<p>
<b><%= attribute.human_name %>:</b>

0 comments on commit 915a0ac

Please sign in to comment.
Something went wrong with that request. Please try again.