make sure owner avatar and github url change

This commit is contained in:
Lisa P 2015-08-17 18:01:35 +02:00
parent 9aee4fd4b8
commit 9053a1e379

View File

@ -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')