metamaps--metamaps/views/explore/mapper.html.erb
Connor Turland 36a58e4bf3 remove stuff
2018-02-15 13:47:28 -05:00

18 lines
445 B
Text

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