include link to create new map in mobile menu
This commit is contained in:
parent
21e2418281
commit
4cb1dfe401
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue