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

19 lines
421 B
Text
Raw Permalink Normal View History

2016-02-28 05:13:44 +00:00
<% #
# @file
# Shows a list of a user's maps
# GET /explore/mapper/:id(.:format)
# %>
<script>
Metamaps.Maps.Mapper = {
models: <%= @maps.to_json.html_safe %>,
id: <%= params[:id] %>
};
Metamaps.currentPage = "mapper";
<% content_for :title, @user.name + " | Metamaps" %>
Metamaps.currentSection = "explore";
2016-03-14 00:10:18 +00:00
Metamaps.GlobalUI.Search.open();
2016-02-28 05:13:44 +00:00
Metamaps.GlobalUI.Search.lock();
</script>