diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-20 13:58:30 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-20 13:58:30 +0000 |
commit | 7fb47e4b5e7ebd7124304214663fd02a7ce1f6a7 (patch) | |
tree | aa695e1688bb44dc1047fe08b16e46a86ef048c1 /app | |
parent | 1e53dd7e11fb280487550bc55b35ff4433213f62 (diff) | |
download | redmine-7fb47e4b5e7ebd7124304214663fd02a7ce1f6a7.tar.gz redmine-7fb47e4b5e7ebd7124304214663fd02a7ce1f6a7.zip |
code cleanup: rubocop: fix Layout/LeadingCommentSpace in app/models/repository.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18485 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 64e5588ba..93c180a53 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -423,8 +423,8 @@ class Repository < ActiveRecord::Base def stats_by_author commits = Changeset.where("repository_id = ?", id).select("committer, user_id, count(*) as count").group("committer, user_id") - #TODO: restore ordering ; this line probably never worked - #commits.to_a.sort! {|x, y| x.last <=> y.last} + # TODO: restore ordering ; this line probably never worked + # commits.to_a.sort! {|x, y| x.last <=> y.last} changes = Change.joins(:changeset).where("#{Changeset.table_name}.repository_id = ?", id).select("committer, user_id, count(*) as count").group("committer, user_id") |