diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-20 22:51:57 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-04-20 22:51:57 +0300 |
commit | 9ee345750ca43f4e4b0c429ebc913caba9684dcf (patch) | |
tree | d72b5105086db7d32d89dc04e985f4d2fc1c5eb1 /app | |
parent | 35e21b3402ae934a33b31aa7d6049abaf861f766 (diff) | |
download | gitlab-ce-9ee345750ca43f4e4b0c429ebc913caba9684dcf.tar.gz |
fixed admin root path for header
Diffstat (limited to 'app')
-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 |