Skip to content

Commit

Permalink
Fix hashbang redirect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Young Hahn committed May 12, 2011
1 parent 2b6e3c8 commit b985ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/App._
Expand Up @@ -8,7 +8,7 @@
var basepath = '<%= basepath %>';
location.href.indexOf('#') === -1 &&
window.location.pathname !== basepath &&
(window.location = basepath + '#' + window.location.pathname.substr(basepath.length - 1));
(window.location = basepath + '#!' + window.location.pathname.substr(basepath.length - 1));

// Server-side request info.
var req = { query: {
Expand Down

0 comments on commit b985ea8

Please sign in to comment.