include link to create new map in mobile menu

This commit is contained in:
Connor Turland 2016-08-16 15:45:54 +00:00
parent 21e2418281
commit 4cb1dfe401

View file

@ -12,11 +12,13 @@
</li> </li>
<% end %> <% end %>
<% if current_user %> <% if current_user %>
<!-- we should add a page where they can create a new map -->
<li class="mobileMenuUser"> <li class="mobileMenuUser">
<%= image_tag current_user.image.url(:sixtyfour), :size => "32x32" %> <%= image_tag current_user.image.url(:sixtyfour), :size => "32x32" %>
<span><%= current_user.name %></span> <span><%= current_user.name %></span>
</li> </li>
<li>
<%= link_to "New Map", new_map_path %>
</li>
<li> <li>
<%= link_to "My Maps", explore_mine_path, :data => { :router => 'true'} %> <%= link_to "My Maps", explore_mine_path, :data => { :router => 'true'} %>
</li> </li>