Skip to content
Snippets Groups Projects
Verified Commit b192aa56 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files
parent 9f2183f9
No related branches found
No related tags found
1 merge request!6949gitlab.com issue #229 - no_avatar.png path in coffee
Loading
Loading
@@ -190,6 +190,6 @@ class ProjectsController < ApplicationController
end
 
def sorted(users)
users.uniq.sort_by(&:username).map { |user| { username: user.username, name: user.name } }
users.uniq.compact.sort_by(&:username).map { |user| { username: user.username, name: user.name } }
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment