diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:45:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 16:45:12 +0000 |
commit | d81846ccc9fc89711f05b447ae25e7f9bd610e8c (patch) | |
tree | d830e48c0e0565459891fd08f93ffdb90aadb270 | |
parent | 33ed57a223da36b9a2f3ae8cd46ef4b817bbda23 (diff) | |
download | redmine-d81846ccc9fc89711f05b447ae25e7f9bd610e8c.tar.gz redmine-d81846ccc9fc89711f05b447ae25e7f9bd610e8c.zip |
cleanup: rubocop: fix Layout/SpaceAfterComma in app/controllers/documents_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19272 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/documents_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb index 27cb1b27f..6facd7b14 100644 --- a/app/controllers/documents_controller.rb +++ b/app/controllers/documents_controller.rb @@ -33,7 +33,7 @@ class DocumentsController < ApplicationController documents = @project.documents.includes(:attachments, :category).to_a case @sort_by when 'date' - documents.sort!{|a,b| b.updated_on <=> a.updated_on} + documents.sort!{|a, b| b.updated_on <=> a.updated_on} @grouped = documents.group_by {|d| d.updated_on.to_date} when 'title' @grouped = documents.group_by {|d| d.title.first.upcase} |