0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Add HTML5 pushState support for Ember

- also updates associated route
This commit is contained in:
Harry Wolff 2014-03-09 20:56:56 -04:00
parent 9415a232b0
commit 9983e05535
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
var Router = Ember.Router.extend();
Router.reopen({
//location: 'history', // use HTML5 History API instead of hash-tag based URLs
location: 'history', // use HTML5 History API instead of hash-tag based URLs
rootURL: '/ghost/ember/' // admin interface lives under sub-directory /ghost
});

View file

@ -58,5 +58,5 @@ module.exports = function (server) {
});
server.get('/ghost/', admin.indexold);
server.get('/ghost/ember/', admin.index);
server.get('/ghost/ember/*', admin.index);
};