Merge pull request #3165 from ErisDS/issue-3056

Replace the old admin with the ember admin
This commit is contained in:
Hannah Wolfe 2014-07-01 09:04:22 +01:00
commit c91f062d3e
2 changed files with 1 additions and 14 deletions

View File

@ -1,13 +0,0 @@
## What's this?
This is the shiny new Ghost admin UI built in Ember.js. It gets served if you visit the URL `/ghost/ember/`.
We're currently in the process of building this awesome new UI to replace the old one which was written in backbone,
lives in the `/clientold/` folder and is still served when you visit the URL `/ghost/`.
In short, we currently have 2 admins:
* Old, Backbone Admin UI lives in `/clientold/` and is served from `/ghost/`
* New, Ember Admin UI lives in `/client/` and is served from `/ghost/ember/`
For more information, please read the [Ember admin wiki page](https://github.com/TryGhost/Ghost/wiki/Ember-Admin-UI)

View File

@ -6,7 +6,7 @@ var Router = Ember.Router.extend();
Router.reopen({
location: 'trailing-history', // use HTML5 History API instead of hash-tag based URLs
rootURL: ghostPaths().subdir + '/ghost/ember/', // admin interface lives under sub-directory /ghost
rootURL: ghostPaths().subdir + '/ghost/', // admin interface lives under sub-directory /ghost
clearNotifications: function () {
// @TODO This should call closePassive() to only close passive notifications