summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-21 22:43:19 -0600
committermo khan <mo@mokhan.ca>2014-05-21 22:43:19 -0600
commite49bef1d3606217baeba3efbaa44ce5f11f2c93e (patch)
tree15719e332e48c188b683eedd658067c000b616c9 /app/views/shared
parent0e1f35bf3f1a023e3f71b916ec5927ab46800249 (diff)
move avatars to my/avatars.
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_account_nav.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_account_nav.html.erb b/app/views/shared/_account_nav.html.erb
index e65fdf21..a33c9a6f 100644
--- a/app/views/shared/_account_nav.html.erb
+++ b/app/views/shared/_account_nav.html.erb
@@ -6,7 +6,7 @@
<li class="<%= selected == :favorites ? "active" : "" %>"><%= link_to "Favorites", my_favorites_path %></li>
<li class="<%= selected == :basic_info ? "active" : "" %>"><%= link_to "Settings", my_settings_path %></li>
<li class="<%= selected == :password ? "active" : "" %>"><%= link_to "Password", my_passwords_path %></li>
- <li class="<%= selected == :picture ? "active" : "" %>"><%= link_to "Picture", edit_avatar_path(current_user) %></li>
+ <li class="<%= selected == :picture ? "active" : "" %>"><%= link_to "Picture", edit_my_avatar_path(current_user) %></li>
<li class="pull-right"><%= link_to t('.logout'), destroy_user_session_path, class: "btn btn-inverse" %></li>
<% if current_user.is_admin? %>
<li class="pull-right"><%= link_to t('.admin'), admin_root_path %></li>