diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/my/shared/_my_nav.html.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/my/shared/_my_nav.html.erb b/app/views/my/shared/_my_nav.html.erb index ad0b4946..12d383b8 100644 --- a/app/views/my/shared/_my_nav.html.erb +++ b/app/views/my/shared/_my_nav.html.erb @@ -1,6 +1,9 @@ <div class="well sidebar-nav"> + <%= link_to edit_my_avatar_path(current_user), title: 'Change your avatar', data: { toggle: 'tooltip', placement: 'bottom', animation: 'true' }, class: 'tooltip-item' do %> + <%= avatar_for(current_user) %> + <% end %> <ul class="nav nav-list"> - <li class="nav-header">My</li> + <li class="nav-header"><%= current_user.name %></li> <li class="<%= "active" if controller?("dashboard") %>"><%= link_to "Dashboard", my_root_path %></li> <!-- <li id="cakes-tab" class="<%= "active" if controller?("cakes") %>"><%= link_to "Creations", my_root_path(anchor: 'cakes') %></li> |
