emberjs/ember.js — pull request #1005 by blt04 (2012-06-14 19:24:04+00:00)
Title: Fix unrouting non-nested states with nested paths

Sometimes you want to add non-nested routes with nested paths. For example:

Ember.Router.create({
root: Ember.Route.create({
products: Ember.Route.create({
route: '/products',
show: Ember.Route.create({
route: '/:product_id',
index: Ember.Route.creaet({
route: '/'
})
})
}),
services: Ember.Route.create({
route: '/products/services',
show: Ember.Route.create({
route: '/:service_id',
index: Ember.Route.creaet({
route: '/'
})
})
})
})
});

You can transition from products.show to services.show with `transitionTo` but transitioning with the back button does not work. This pull request fixes the back button bug.