Commit 18c4a17fcb24e830d52f217338533ccaf840b014
1 parent
f1ea38f2
Exists in
master
and in
28 other branches
ActionItem1050: point admin link to the right place
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/layouts/application-ng.rhtml
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | <div id="user"> |
55 | 55 | <% if logged_in? %> |
56 | 56 | <%= _('Welcome, %s.') % link_to('<i></i><strong>' + user.identifier + '</strong>', user.url, :id => "homepage-link", :title => _('Go to your homepage')) %> |
57 | - <%= link_to('<i class="icon-menu-admin"></i><strong>' + _('Administration') + '</strong>', user.admin_url, :id => "controlpanel", :title => _("Configure the system")) %> | |
57 | + <%= link_to('<i class="icon-menu-admin"></i><strong>' + _('Administration') + '</strong>', { :controller => 'admin_panel', :action => 'index' }, :id => "controlpanel", :title => _("Configure the system")) %> | |
58 | 58 | <%= link_to('<i class="icon-menu-ctrl-panel"></i><strong>' + _('Control panel') + '</strong>', user.admin_url, :id => "controlpanel", :title => _("Configure your personal account and content")) %> |
59 | 59 | <%= link_to('<i class="icon-menu-logout"></i><strong>' + _('Logout') + '</strong>', { :controller => 'account', :action => 'logout'} , :id => "logout", :title => _("Leave the system")) %> |
60 | 60 | <% else %> | ... | ... |