gitlabhq/app/helpers/projects_helper.rb

7 lines
161 B
Ruby
Raw Normal View History

2012-09-07 18:57:13 +02:00
module ProjectsHelper
def grouper_project_members(project)
@project.users_projects.sort_by(&:project_access).reverse.group_by(&:project_access)
end
end