mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
8bc4309deb
refs https://github.com/TryGhost/Team/issues/1295 - moved `?firstStart` query param handling into `'home'` route as it seemed like a preferable location - switched to using `resetController` hook to manage removal of query param which seemed more reliable than the transition approach - added `firstStart` query param to the transitions when completing step 3 of the setup flow
9 lines
214 B
JavaScript
9 lines
214 B
JavaScript
import Controller from '@ember/controller';
|
|
import {tracked} from '@glimmer/tracking';
|
|
|
|
export default class HomeController extends Controller {
|
|
queryParams = ['firstStart'];
|
|
|
|
@tracked firstStart = null;
|
|
}
|