mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
a29289c448
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; |