Commit 9ee34575 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed admin root path for header

parent 35e21b34
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
= form_tag search_path, :method => :get do |f| = form_tag search_path, :method => :get do |f|
= text_field_tag "search", nil, :placeholder => "Search", :class => "search-input" = text_field_tag "search", nil, :placeholder => "Search", :class => "search-input"
- if current_user.is_admin? - 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 = image_tag "admin.PNG", :width => 16
.account-box .account-box
= link_to profile_path, :class => "pic" do = link_to profile_path, :class => "pic" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment