diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-14 10:09:01 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-14 10:09:01 +0200 |
commit | 23e338852c6030e199608517315c5d4fad6b27d8 (patch) | |
tree | 6f5d41d15f0a521a545e3761f7b8f1fec01ae57c /app/views/dashboard/issues.html.haml | |
parent | f716c0a1dd175527e688709cbbd71c121a43586e (diff) | |
download | gitlab-ce-23e338852c6030e199608517315c5d4fad6b27d8.tar.gz |
Dont set @project variable in list. Remove a bit of duplication in dash and group
Diffstat (limited to 'app/views/dashboard/issues.html.haml')
-rw-r--r-- | app/views/dashboard/issues.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index 68e3b3dcaf5..307d0d85ea3 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -12,9 +12,9 @@ - if @issues.any? - @issues.group_by(&:project).each do |group| %div.ui-box - - @project = group[0] + - project = group[0] %h5.title - = link_to_project @project + = link_to_project project %ul.well-list.issues_table - group[1].each do |issue| = render(partial: 'issues/show', locals: {issue: issue}) |