title: How to use emberjs action helper within custom registered helper?
body: <p>I may add actions within handlebars templates for emberjs with</p>
  
  <pre><code>&lt;li&gt;{{action "SomeAction" this}} {{this.name}}&lt;/li&gt;
  </code></pre>
  
  <p>the SomeAction is called.</p>
  
  <p>How may I add an action within an custom helper (this is only an example, I have more code in there):</p>
  
  <pre><code>Ember.Handlebars.registerHelper('foo', function(property, options) {
    var bar = Ember.Handlebars.get(this, property, options);
  
    var args = Array.prototype.slice.call(arguments, 1);
    args.unshift("someAction");
    args.unshift(bar);
    var action = Ember.Handlebars.helpers.action.apply(this, args);
  
    return new Ember.Handlebars.SafeString("&lt;li "+new Ember.Handlebars.SafeString(action)+"&gt;"+bar.get("name")+"&lt;/li&gt;");
  });
  </code></pre>
  
  <p>This creates the same li tag, but it is not working, with this error when i click on the li tag (error message is from discourse app):</p>
  
  <p>Uncaught Error: Nothing handled the action ''. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble. </p>