2016-02-28 13:13:44 +08:00
|
|
|
<% #
|
|
|
|
# @file
|
|
|
|
# Shows a list of a user's maps
|
|
|
|
# GET /explore/mapper/:id(.:format)
|
|
|
|
# %>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<% content_for :title, @user.name + " | Metamaps" %>
|
2016-08-12 04:04:18 +00:00
|
|
|
<% content_for :mobile_title, @user.name %>
|
2016-02-28 13:13:44 +08:00
|
|
|
|
|
|
|
Metamaps.currentSection = "explore";
|
2016-10-02 22:28:00 +08:00
|
|
|
Metamaps.currentPage = "mapper";
|
2016-10-03 08:32:37 +08:00
|
|
|
Metamaps.ServerData.Mapper = {
|
2016-10-02 22:28:00 +08:00
|
|
|
models: <%= @maps.to_json.html_safe %>,
|
2017-01-28 15:44:38 -05:00
|
|
|
mapperId: <%= params[:id] %>
|
2016-10-02 22:28:00 +08:00
|
|
|
};
|
2016-10-02 10:09:13 +08:00
|
|
|
Metamaps.GlobalUI.Search.focus();
|
2016-02-28 13:13:44 +08:00
|
|
|
</script>
|