summaryrefslogtreecommitdiff
path: root/app/views/shared/_issues.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_issues.html.haml')
-rw-r--r--app/views/shared/_issues.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/shared/_issues.html.haml b/app/views/shared/_issues.html.haml
index f4401300ceb..69e6ee8ec40 100644
--- a/app/views/shared/_issues.html.haml
+++ b/app/views/shared/_issues.html.haml
@@ -1,10 +1,7 @@
- if @issues.to_a.any?
.panel.panel-default.panel-small
%ul.content-list.issues-list
- - @issues.each do |issue|
- - project = issue.project
-
- = render 'projects/issues/issue', issue: issue
+ = render partial: 'projects/issues/issue', collection: @issues
= paginate @issues, theme: "gitlab"
- else
= render 'shared/empty_states/issues'