7 lines
210 B
JavaScript

export default Ember.Component.extend({
tagName: 'a',
attributeBindings: ['href', 'data-user-card'],
href: Ember.computed.alias('user.path'),
'data-user-card': Ember.computed.alias('user.username')
});