emberjs/ember.js — pull request #1836 by teddyzeenny (2013-01-21 15:04:26+00:00)
Title: Fix router's root URL handling

When using `Ember.HistoryLocation`, the router does not account for the `rootURL` in 2 cases:

1. If the URL is typed manually (or page is refreshed)
2. In case `popstate` fires (for example when back and forward are clicked)

This fixes both cases.