<%= @flash[:notice] %>
-<% end %>
+ <% if flash[:notice] %>
+ <%= flash[:notice] %>
+ <% end %>
- <%= @content_for_layout %>
+ <%= yield %>
- X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a42dc9f4826da27b21fa1f66ea6318110afaa0b2..8bd09c082897d808c4641f94836f5cfa4cbbf95c:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 0ff110ced..f2cc5b4fe 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -10,80 +10,83 @@
+ <% if params[:controller] == 'site' and params[:action] == 'index' %> + + <% end %>