<%= flash[:notice] %>
+ <% if @notice || flash[:notice] %>
+ <%= @notice || flash[:notice] %>
<% end %>
<%= yield %>
-
X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3aabf07e1038abf8cf471e463e00309df77df603..e827a0460795bc076c115f941d074dca67decaa1:/app/views/layouts/site.rhtml?ds=inline diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index c7670e795..cf7ad9fc8 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -1,50 +1,59 @@ +
- <%= javascript_include_tag 'main.js' %> - - <%= javascript_include_tag 'tile.js' %> - <%= javascript_include_tag 'site.js' %> - - -