Commit df96c079 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove ambiguous condition

parent 0cde12d1
......@@ -31,7 +31,7 @@
%li
= link_to new_project_snippet_path(@project), title: "New Snippet" do
Snippet
- if @project.issues_enabled && can?(current_user, :admin_team_member, @project)
- if can?(current_user, :admin_team_member, @project)
%li.divider
%li
= link_to new_project_team_member_path(@project), title: "New Team member" 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