Fix sattellites

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 09:14:05 +03:00
parent 23734a715e
commit ab42370af0
3 changed files with 11 additions and 6 deletions

View file

@ -7,4 +7,8 @@ module DashboardHelper
dashboard_merge_requests_path(options)
end
end
def entities_per_project project, entity
project.items_for(entity).where(assignee_id: current_user.id).count
end
end