mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +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; |