From 276b912c3ffc9504c5879e6e2df9c09ce605c9e0 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 1 Jul 2014 00:26:08 +0100 Subject: [PATCH] Replace the old admin with the ember admin closes #3056 - Remove clientold - Remove clientold tests - Cleanup old admin helpers - Remove old routes from admin and controllers from admin controller - Comment out / remove old and broken tests - Cleanup Gruntfile.js, bower.js, package.json etc Still TODO: - cleanup / add removed tests - do we still need countable? --- ghost/admin/README.md | 13 ------------- ghost/admin/router.js | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 ghost/admin/README.md diff --git a/ghost/admin/README.md b/ghost/admin/README.md deleted file mode 100644 index 2a1f06bbb6..0000000000 --- a/ghost/admin/README.md +++ /dev/null @@ -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) \ No newline at end of file diff --git a/ghost/admin/router.js b/ghost/admin/router.js index 3a25c93bb6..ca2225dce0 100644 --- a/ghost/admin/router.js +++ b/ghost/admin/router.js @@ -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