@celo wrote:
I would like to use a computed property inside a hash, like:
export default Ember.Controller.extend({ computeds: { hiw: Ember.computed('model.hiw', function() { return { name: this.get('model.hiw.name') }; }) } });
But i can't. Its throwing an error:
this.get is not a function
I understand the scope issues.. but still, Ember should work with that..
Thanks.
Posts: 5
Participants: 3