<%= flash[:notice] %>
-<% end %>
+ <% if flash[:notice] %>
+ <%= flash[:notice] %>
+ <% end %>
- <%= yield %>
+ <%= yield %>
- X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2709027882c3f36a1d6a442c2c4b706b54b1edeb..2f55a3f0a80974922678d7677902d169b3481693:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 249db6576..d32490729 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -10,92 +10,84 @@
+ <% if params[:controller] == 'site' and params[:action] == 'index' %> + + <% end %>