Commit 138aa81e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Get contributed projects only if push event exists

parent 93dde8a3
......@@ -610,6 +610,7 @@ class User < ActiveRecord::Base
def contributed_projects_ids
Event.where(author_id: self).
code_push.
reorder(project_id: :desc).
select('DISTINCT(project_id)').
map(&:project_id)
......
%h4 Calendar
%h4 Commits calendar
#cal-heatmap.calendar
:javascript
new calendar(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment