Project

General

Profile

Feature #32306 » link_to_admin_projects_path.patch

Go MAEDA, 2019-10-20 14:26

View differences:

app/helpers/projects_helper.rb
53 53
    if User.current.allowed_to?(:add_project, nil, :global => true)
54 54
      links << link_to(l(:label_project_new), new_project_path, :class => 'icon icon-add')
55 55
    end
56
    if User.current.admin?
57
      links << link_to(l(:label_administration), admin_projects_path, :class => 'icon icon-settings')
58
    end
56 59
    links
57 60
  end
58 61

  
(2-2/2)