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

19 lines
445 B
Text
Raw 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>
<% content_for :title, @user.name + " | Metamaps" %>
2016-08-12 04:04:18 +00:00
<% content_for :mobile_title, @user.name %>
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 = {
models: <%= @maps.to_json.html_safe %>,
2017-01-28 20:44:38 +00:00
mapperId: <%= params[:id] %>
};
Metamaps.GlobalUI.Search.focus();
2016-02-28 05:13:44 +00:00
</script>