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

16 lines
408 B
Text
Raw Normal View History

2016-02-28 05:13:44 +00:00
<% #
# @file
# Shows a list of featured maps
# GET /explore/featured(.:format)
# %>
<script>
<% content_for :title, "Explore Featured Maps | Metamaps" %>
2016-08-12 04:04:18 +00:00
<% content_for :mobile_title, "Featured Maps" %>
2016-02-28 05:13:44 +00:00
Metamaps.currentSection = "explore";
Metamaps.currentPage = "featured";
2016-10-03 00:32:37 +00:00
Metamaps.ServerData.Featured = <%= @maps.to_json.html_safe %>;
Metamaps.GlobalUI.Search.focus();
2016-02-28 05:13:44 +00:00
</script>