make sure owner avatar and github url change
This commit is contained in:
parent
9aee4fd4b8
commit
9053a1e379
|
@ -6,14 +6,14 @@ Controller = Ember.Controller.extend
|
||||||
|
|
||||||
githubProfile: (->
|
githubProfile: (->
|
||||||
"https://github.com/#{@get('model.login')}"
|
"https://github.com/#{@get('model.login')}"
|
||||||
).property()
|
).property('model')
|
||||||
|
|
||||||
avatarURL: (->
|
avatarURL: (->
|
||||||
if @get('model.avatar_url')
|
if @get('model.avatar_url')
|
||||||
"#{@get('model.avatar_url')}?s=125"
|
"#{@get('model.avatar_url')}?s=125"
|
||||||
else
|
else
|
||||||
'https://secure.gravatar.com/avatar/?d=mm&s=125'
|
'https://secure.gravatar.com/avatar/?d=mm&s=125'
|
||||||
).property()
|
).property('model')
|
||||||
|
|
||||||
owner: (->
|
owner: (->
|
||||||
data = @get('model')
|
data = @get('model')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user