2018-09-25 16:28:26 +00:00
|
|
|
import { inject as service } from '@ember/service';
|
2018-08-28 05:03:55 +00:00
|
|
|
import ClusterRoute from './cluster-route-base';
|
|
|
|
|
|
|
|
export default ClusterRoute.extend({
|
2018-09-25 16:28:26 +00:00
|
|
|
wizard: service(),
|
2018-08-28 05:03:55 +00:00
|
|
|
|
|
|
|
activate() {
|
|
|
|
// always start from idle instead of using the current state
|
|
|
|
this.get('wizard').transitionTutorialMachine('idle', 'INIT');
|
|
|
|
this.get('wizard').set('initEvent', 'START');
|
|
|
|
},
|
|
|
|
});
|