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: (->
|
||||
"https://github.com/#{@get('model.login')}"
|
||||
).property()
|
||||
).property('model')
|
||||
|
||||
avatarURL: (->
|
||||
if @get('model.avatar_url')
|
||||
"#{@get('model.avatar_url')}?s=125"
|
||||
else
|
||||
'https://secure.gravatar.com/avatar/?d=mm&s=125'
|
||||
).property()
|
||||
).property('model')
|
||||
|
||||
owner: (->
|
||||
data = @get('model')
|
||||
|
|
Loading…
Reference in New Issue
Block a user