mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user