diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-17 16:37:11 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2009-12-17 16:37:11 -0800 |
commit | fa575973b1ad5adb7115a18c4c1c7c31500e73b2 (patch) | |
tree | 6fb71516dfd7e24758825093ad37337205669e26 /railties/lib/rails/generators/erb | |
parent | 2bfa477128ef36e5664709684b51c20bebf1ee70 (diff) | |
download | rails-fa575973b1ad5adb7115a18c4c1c7c31500e73b2.tar.gz rails-fa575973b1ad5adb7115a18c4c1c7c31500e73b2.tar.bz2 rails-fa575973b1ad5adb7115a18c4c1c7c31500e73b2.zip |
Added alert/notice from 2-3-stable and refactored redirect_to into just living in Redirector [DHH]
Diffstat (limited to 'railties/lib/rails/generators/erb')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb index 6460e5b599..51c4ad0e2e 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb @@ -7,7 +7,7 @@ </head> <body> -<p class="notice"><%%= flash[:notice] %></p> +<p class="notice"><%%= notice %></p> <%%= yield %> |