mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
8c2987cf01
Closes #2746 - Adds content route to router - Content route transitions to posts route in the beforeModel hook.
7 lines
146 B
JavaScript
7 lines
146 B
JavaScript
var ContentRoute = Ember.Route.extend({
|
|
beforeModel: function () {
|
|
this.transitionTo('posts');
|
|
}
|
|
});
|
|
|
|
export default ContentRoute; |