mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
Merge pull request #2765 from novaugust/ember-content-redirect
Add /content redirect to Ember admin.
This commit is contained in:
commit
b139bb6380
@ -25,6 +25,8 @@ Router.map(function () {
|
||||
this.route('apps');
|
||||
});
|
||||
this.route('debug');
|
||||
//Redirect legacy content to posts
|
||||
this.route('content');
|
||||
});
|
||||
|
||||
export default Router;
|
||||
export default Router;
|
||||
|
7
core/client/routes/content.js
Normal file
7
core/client/routes/content.js
Normal file
@ -0,0 +1,7 @@
|
||||
var ContentRoute = Ember.Route.extend({
|
||||
beforeModel: function () {
|
||||
this.transitionTo('posts');
|
||||
}
|
||||
});
|
||||
|
||||
export default ContentRoute;
|
Loading…
Reference in New Issue
Block a user