2018-03-03 21:25:42 -05:00
|
|
|
{ #
|
2016-02-28 13:13:44 +08:00
|
|
|
# @file
|
|
|
|
# Shows a list of a user's maps
|
|
|
|
# GET /explore/mapper/:id(.:format)
|
2018-03-03 21:25:42 -05:00
|
|
|
# }
|
2016-02-28 13:13:44 +08:00
|
|
|
|
|
|
|
<script>
|
2018-03-03 21:25:42 -05:00
|
|
|
{ content_for :title, @user.name + " | Metamaps" }
|
|
|
|
{ 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 = {
|
2018-03-03 21:25:42 -05:00
|
|
|
models: { @maps.to_json.html_safe },
|
|
|
|
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>
|