summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-26 22:19:56 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-26 22:19:56 +0300
commitdf96c079ef3e358ea221ce4c43163d478b79a5e0 (patch)
tree97316ee9e08ca17498ae5bbcc5d54ce39138565d /app/views/projects
parent0cde12d18c56d3183c34a2679cb5851349c3ebcd (diff)
downloadgitlab-ce-df96c079ef3e358ea221ce4c43163d478b79a5e0.tar.gz
Remove ambiguous condition
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_clone_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_clone_panel.html.haml b/app/views/projects/_clone_panel.html.haml
index d9e74712866..9c07bd0da18 100644
--- a/app/views/projects/_clone_panel.html.haml
+++ b/app/views/projects/_clone_panel.html.haml
@@ -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