Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-24 18:43:04 +0300
committerPhil Hughes <me@iamphill.com>2016-07-05 11:06:38 +0300
commitd10d32a324411ba010f3b0ea9da407cc736529b4 (patch)
tree02ec6662bf4649e449f64d132dfd678cb50c3289 /app/views/projects/issues/index.html.haml
parent4ddcac8ca8a1880b82c63b94b87ce91727129f23 (diff)
Uses any method instead of nil to check for issues
Diffstat (limited to 'app/views/projects/issues/index.html.haml')
-rw-r--r--app/views/projects/issues/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/index.html.haml b/app/views/projects/issues/index.html.haml
index 5f06431ffec..a4795cddf2a 100644
--- a/app/views/projects/issues/index.html.haml
+++ b/app/views/projects/issues/index.html.haml
@@ -7,7 +7,7 @@
= auto_discovery_link_tag(:atom, namespace_project_issues_url(@project.namespace, @project, :atom, private_token: current_user.private_token), title: "#{@project.name} issues")
%div{ class: (container_class) }
- - if @project.issues.nil?
+ - if @project.issues.any?
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls