aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/erb/scaffold
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/generators/erb/scaffold')
-rw-r--r--railties/lib/generators/erb/scaffold/templates/layout.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/erb/scaffold/templates/layout.html.erb b/railties/lib/generators/erb/scaffold/templates/layout.html.erb
index aacfbe4a8f..6460e5b599 100644
--- a/railties/lib/generators/erb/scaffold/templates/layout.html.erb
+++ b/railties/lib/generators/erb/scaffold/templates/layout.html.erb
@@ -7,7 +7,7 @@
</head>
<body>
-<p style="color: green"><%%= flash[:notice] %></p>
+<p class="notice"><%%= flash[:notice] %></p>
<%%= yield %>