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