metamaps--metamaps/app/views/layouts/_foot.html.erb

16 lines
494 B
Text
Raw Normal View History

2016-03-25 04:26:07 +00:00
<%= render :partial => 'layouts/lightboxes' %>
<%= render :partial => 'layouts/templates' %>
<%= render :partial => 'shared/metacodeBgColors' %>
<script type="text/javascript" charset="utf-8">
<% if current_user %>
2016-10-02 13:41:05 +00:00
Metamaps.ServerData.ActiveMapper = <%= current_user.to_json.html_safe %>
<% else %>
2016-10-02 13:41:05 +00:00
Metamaps.ServerData.ActiveMapper = null
<% end %>
2016-03-25 04:26:07 +00:00
Metamaps.Loading.setup()
2016-03-25 04:26:07 +00:00
</script>
<%= render :partial => 'layouts/googleanalytics' if Rails.env.production? %>
</body>
</html>