metamaps--metamaps/views/explore/mapper.html.erb

19 lines
342 B
Text
Raw Normal View History

2018-03-04 02:25:42 +00:00
{ #
2016-02-28 05:13:44 +00:00
# @file
# Shows a list of a user's maps
# GET /explore/mapper/:id(.:format)
2018-03-04 02:25:42 +00:00
# }
2016-02-28 05:13:44 +00:00
<script>
2018-03-05 17:43:11 +00:00
2016-02-28 05:13:44 +00:00
Metamaps.currentSection = "explore";
Metamaps.currentPage = "mapper";
2016-10-03 00:32:37 +00:00
Metamaps.ServerData.Mapper = {
2018-03-04 02:25:42 +00:00
models: { @maps.to_json.html_safe },
mapperId: { params[:id] }
};
Metamaps.GlobalUI.Search.focus();
2016-02-28 05:13:44 +00:00
</script>