diff options
-rw-r--r-- | app/views/layouts/_head_panel.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index c3a75b46c4b..362992adb3c 100644 --- a/app/views/layouts/_head_panel.html.haml +++ b/app/views/layouts/_head_panel.html.haml @@ -11,7 +11,7 @@ = form_tag search_path, :method => :get do |f| = text_field_tag "search", nil, :placeholder => "Search", :class => "search-input" - if current_user.is_admin? - = link_to admin_projects_path, :class => "admin_link", :title => "Admin area" do + = link_to admin_root_path, :class => "admin_link", :title => "Admin area" do = image_tag "admin.PNG", :width => 16 .account-box = link_to profile_path, :class => "pic" do |