metamaps--metamaps/app/views/explore/featured.html.erb
2016-10-02 10:09:55 +08:00

15 lines
402 B
Text

<% #
# @file
# Shows a list of featured maps
# GET /explore/featured(.:format)
# %>
<script>
Metamaps.Maps.Featured = <%= @maps.to_json.html_safe %>;
Metamaps.currentPage = "featured";
<% content_for :title, "Explore Featured Maps | Metamaps" %>
<% content_for :mobile_title, "Featured Maps" %>
Metamaps.currentSection = "explore";
Metamaps.GlobalUI.Search.focus();
</script>