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
if User.current.allowed_to?(:add_project, nil, :global => true)
links << link_to(l(:label_project_new), new_project_path, :class => 'icon icon-add')
end
if User.current.admin?
links << link_to(l(:label_administration), admin_projects_path, :class => 'icon icon-settings')
end
links
end
(2-2/2)