diff --git a/app/views/shared/user_menu.rhtml b/app/views/shared/user_menu.rhtml index 51a72b2..09f787c 100644 --- a/app/views/shared/user_menu.rhtml +++ b/app/views/shared/user_menu.rhtml @@ -19,12 +19,12 @@ <%= '
  • '+ link_to( ''+ _('Admin'), { :controller => 'admin_panel' }, :id => 'link_admin_panel' ) + - '
  • ' if current_user.person.is_admin? + '' if user.is_admin? %>
  • <%= link_to( ''+_('Edit Profile'), - :controller => 'profile_editor', :action => 'edit' ) %>
  • + :controller => 'profile_editor', :profile => user.identifier, :action => 'edit' ) %>
  • <%= link_to( ''+_('Consumed Products'), - :controller => 'consumed_products' ) %>
  • + :profile => user.identifier, :controller => 'consumed_products' ) %> <% else %> -- libgit2 0.21.2