<%= @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..4e9fcb9b91b981fe8a8b5d67082b8a941fb7e9ff:/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 %>