summaryrefslogtreecommitdiff
path: root/app/controllers/users_controller.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-22 15:46:29 +0100
committerJames Lopez <james@jameslopez.es>2016-02-22 15:46:29 +0100
commit303e9eb5bfa528e5df3f8b3e76596b2d4401acf4 (patch)
tree220f33dd9cd33db784dc32a2e68a8971e7f16192 /app/controllers/users_controller.rb
parent5803a5308f5a7a84cc84dd0a7d8a89565bae0717 (diff)
downloadgitlab-ce-303e9eb5bfa528e5df3f8b3e76596b2d4401acf4.tar.gz
include contributions from forked projects on profile calendar
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 6055b606086..626213c6728 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -57,7 +57,7 @@ class UsersController < ApplicationController
def contributions_calendar
@contributions_calendar ||= Gitlab::ContributionsCalendar.
- new(contributed_projects.reject(&:forked?), @user)
+ new(contributed_projects, @user)
end
def load_events