metamaps--metamaps/views/explore/mapper.html.erb
2018-03-05 12:43:11 -05:00

19 lines
342 B
Plaintext

{ #
# @file
# Shows a list of a user's maps
# GET /explore/mapper/:id(.:format)
# }
<script>
Metamaps.currentSection = "explore";
Metamaps.currentPage = "mapper";
Metamaps.ServerData.Mapper = {
models: { @maps.to_json.html_safe },
mapperId: { params[:id] }
};
Metamaps.GlobalUI.Search.focus();
</script>