<%= flash[:notice] %>
-<% end %>
+ <% if flash[:notice] %>
+ <%= flash[:notice] %>
+ <% end %>
- <%= yield %>
+ <%= yield %>
- X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d07277efba0c0069705bbefa68f2624a9c6c9ff0..6b4803d87fc957d0a779ebedc39e8499af1b7733:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index a0034a5ef..d32490729 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -10,94 +10,84 @@
+ <% if params[:controller] == 'site' and params[:action] == 'index' %> + + <% end %>