Search code examples
ember.jsember-router

EmberJS RC6 Router Catch All


The application that I am writing uses both EmberJS route (using #) and normal traditional HTML anchors. There are reasons for doing so and using normal anchor is not something that I can avoid at the moment.

I used to use the following line in my Router map.

this.route('catchAll', {path:"*:"});

The above used to work until I updated to RC6 and I start getting the "Uncaught Error: There is no route named ..."

Is there a new way to do catch all in the current version of Ember?


Solution

  • It would seem that if your hashes do not begin with a '/' they will not work any more. I would say that this is a bug in the rc6 router.