Commit 7b9b9f70 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix project create link on group page

parent 755bb4576ff1
......@@ -2,7 +2,7 @@
= search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control'
- if current_user.can_create_project?
- if can? current_user, :create_projects, @group
= link_to new_project_path(namespace_id: do
%strong New project
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