I've got an Ember Object defined which only holds some functions. I would like to access these functions in my templates but somehow it doesn't work. There is no error given nor any log statements.
App.AuthManager = Ember.Object.extend({
isAuthenicated : function () {
return true;
}
}).create();
Now in my template I would like to
{{#if App.AuthManager.isAuthenticated}}
<ul>...</ul>
{{/if}}
The markup within the if statement is always printed, doesn't handlebars interpret the object function here?