diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-24 16:43:04 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-05 09:06:38 +0100 |
commit | d10d32a324411ba010f3b0ea9da407cc736529b4 (patch) | |
tree | 02ec6662bf4649e449f64d132dfd678cb50c3289 | |
parent | 4ddcac8ca8a1880b82c63b94b87ce91727129f23 (diff) | |
download | gitlab-ce-d10d32a324411ba010f3b0ea9da407cc736529b4.tar.gz |
Uses any method instead of nil to check for issues
-rw-r--r-- | app/views/projects/issues/index.html.haml | 2 |
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 |