0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Merge pull request #2376 from hswolff/ember-history-support

Add HTML5 pushState support for Ember
This commit is contained in:
Hannah Wolfe 2014-03-10 22:13:39 +00:00
commit c6874a0a44
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);
};