Skip to content

Commit 73be3df

Browse files
committed
removed User::BLANK_PROFILE_URL
1 parent 869b2d0 commit 73be3df

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/models/team/search_wrapper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def avatar_url
3838
end
3939

4040
def thumbnail_url
41-
User::BLANK_PROFILE_URL
41+
item[:avatar]
4242
end
4343

4444
def members

app/models/user.rb

-3
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ class User < ActiveRecord::Base
147147
}
148148

149149

150-
#TODO maybe we don't need this
151-
BLANK_PROFILE_URL = 'blank-mugshot.png'
152-
153150
REGISTRATION = 'registration'
154151
PENDING = 'pending'
155152
ACTIVE = 'active'

0 commit comments

Comments
 (0)