diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-04 22:19:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-04 22:19:41 +0200 |
commit | 97ba73157462e8cc18020b0c5056742408737770 (patch) | |
tree | a85d2e7428aaa97a0b97726cb9713d0320c9db51 /app/models/repository.rb | |
parent | 05993f90e0cfc3a0e571b2eaa3b4b182a19e979f (diff) | |
download | gitlab-ce-97ba73157462e8cc18020b0c5056742408737770.tar.gz |
Project activities restyled
Diffstat (limited to 'app/models/repository.rb')
-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 f73fe17065b..d36b458da83 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -117,9 +117,9 @@ class Repository commits.sort! do |x, y| y.committed_date <=> x.committed_date - end[0..n] + end - commits + commits[0..n] end def commits_since(date) |