<%= @flash[:notice] %>
-<% end %>
+ <% if flash[:notice] %>
+ <%= flash[:notice] %>
+ <% end %>
- <%= @content_for_layout %>
+ <%= yield %>
- X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/222d31e435f003ec59e84860d2fa5129449f69de..cbf2dea6117de3eeff2966b9034b0ad6144fe379:/app/views/layouts/site.rhtml?ds=sidebyside diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 95c273e40..df6989bf8 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -1,101 +1,104 @@ +
<%= javascript_include_tag 'main.js' %> - + <%= javascript_include_tag 'tile.js' %> <%= javascript_include_tag 'site.js' %> -