remove spaces inside {} of app/models/repository.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20064 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-09-21 13:04:25 +00:00
parent 02c047c336
commit 97ffc818e8

View File

@@ -441,7 +441,7 @@ class Repository < ActiveRecord::Base
if username = authors_names[element.user_id.to_i]
mapped_name = username
end
hash[mapped_name] ||= { :commits_count => 0, :changes_count => 0 }
hash[mapped_name] ||= {:commits_count => 0, :changes_count => 0}
if element.is_a?(Changeset)
hash[mapped_name][:commits_count] += element.count.to_i
else