metamaps--metamaps/app/views/maps/sharedmaps.html.erb

17 lines
433 B
Text
Raw Normal View History

<% #
# @file
# Shows a list of current user's maps
# GET /explore/mine(.:format)
# %>
<script>
Metamaps.Maps.Shared = <%= @maps.to_json.html_safe %>;
Metamaps.currentPage = "shared";
<% content_for :title, "Explore Shared Maps | Metamaps" %>
2016-08-12 04:04:18 +00:00
<% content_for :mobile_title, "Shared With Me" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.open();
Metamaps.GlobalUI.Search.lock();
</script>