diff options
author | Sean McGivern <sean@gitlab.com> | 2016-06-01 13:35:43 +0100 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-06 11:59:49 -0500 |
commit | 1cc0209a8057c32cb7b073b822410f8b4c4ad3c9 (patch) | |
tree | 361014f992602a8c56a6d05322b5ee9137675655 /app | |
parent | b28237b4d269e1e191597324769113ee4254d7c3 (diff) | |
download | gitlab-ce-1cc0209a8057c32cb7b073b822410f8b4c4ad3c9.tar.gz |
Fix style
- `reorder(nil)` is better than `reorder('')`
- Only use ASCII in comments
Diffstat (limited to 'app')
-rw-r--r-- | app/views/shared/_issues.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_issues.html.haml b/app/views/shared/_issues.html.haml index 1150614c329..a5df502d7b5 100644 --- a/app/views/shared/_issues.html.haml +++ b/app/views/shared/_issues.html.haml @@ -1,4 +1,4 @@ -- if @issues.reorder('').any? +- if @issues.reorder(nil).any? - @issues.group_by(&:project).each do |group| .panel.panel-default.panel-small - project = group[0] |