Extending a Handlebars helper


I want to “subclass” {{#link-to}} (i.e. Ember.LinkView and the link-to Handlebars helper). Ember.LinkView currently supports application-wide changes via Ember.LinkView.reopen(), but I want to define a helper like {{#my-link-to}} for specific link behavior only on certain links in my application.

Copying the link-to helper code and pointing it to MyLinkView is do-able ( http://stackoverflow.com/a/19330151/173630 ) but not sustainable. Is there a nicer way to do this right now? Or should ember expose helper functions like the current linkToHelper() to allow for inheritance?

The link-to helper in 1.3.0