The error indicates that no controller or route of the current context handles the specified action i.e. does not contain an actions
property with a function specified in foo
helper.
Example, http://emberjs.jsbin.com/zudiqewo/1/edit
js
Ember.Handlebars.registerHelper('foo', function(property, options) {
var action = Ember.Handlebars.helpers.action.apply(this, arguments);
return new Ember.Handlebars.SafeString("<li "+new Ember.Handlebars.SafeString(action)+">click here</li>");
});
if in hbs
template the test
is renamed from {{foo "test"}}
to {{foo "teest"}}
the aforementioned error will be thrown.