mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
a6b11b8c0c
no issue - adds blank `/dashboard` route ready for future 4.0 related changes - `/` now redirects to `/dashboard` instead of `/site` - adds "Dashboard" link to main nav menu
8 lines
158 B
JavaScript
8 lines
158 B
JavaScript
import Route from '@ember/routing/route';
|
|
|
|
export default class HomeRoute extends Route {
|
|
beforeModel() {
|
|
this.transitionTo('dashboard');
|
|
}
|
|
}
|