diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index c3a75b46c4bc9a3b3bd22dc757df5d4a84ab3b76..362992adb3c0e8a9f7a9c060c5f5f08f5ffef3ad 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