diff --git a/core/client/router.js b/core/client/router.js index 46d7f293a06e..1c8393fb7a03 100644 --- a/core/client/router.js +++ b/core/client/router.js @@ -25,6 +25,8 @@ Router.map(function () { this.route('apps'); }); this.route('debug'); + //Redirect legacy content to posts + this.route('content'); }); -export default Router; \ No newline at end of file +export default Router; diff --git a/core/client/routes/content.js b/core/client/routes/content.js new file mode 100644 index 000000000000..e96035085b74 --- /dev/null +++ b/core/client/routes/content.js @@ -0,0 +1,7 @@ +var ContentRoute = Ember.Route.extend({ + beforeModel: function () { + this.transitionTo('posts'); + } +}); + +export default ContentRoute; \ No newline at end of file