]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Get rails to do asset tagging for the SWF file.
[rails.git] / app / views / layouts / site.rhtml
index 4b41e5e9e84106cc438a180cd7a9e87ae2869d37..7aa2db7b9432cdb5d44a90e7e38d6fa9e0866e33 100644 (file)
@@ -11,8 +11,8 @@
   </head>
   <body>
     <div id="content">
-      <% if flash[:notice] %>
-        <div id="notice"><%= flash[:notice] %></div>
+      <% if @notice || flash[:notice] %>
+        <div id="notice"><%= @notice || flash[:notice] %></div>
       <% end %>
 
       <%= yield %>