<%# # @file # Shows a list of all maps, or just a user's maps. # TODO: What url is this accessible at? #%>

<% if @user %><%= @user.name %>'s<% end %> Maps

<% @maps.each do |map| %> <%= render map %> <% end %> <% if @maps.empty? %>


Shucks, there are no maps. <% if authenticated? %><%= link_to "Create one if you want.", new_map_url %><% end %>

<% end %>