11 Zeilen
236 B
JavaScript
11 Zeilen
236 B
JavaScript
import { findCustomWizard } from '../models/custom-wizard';
|
|
|
|
export default Ember.Route.extend({
|
|
model(params) {
|
|
return findCustomWizard(params.name);
|
|
},
|
|
|
|
afterModel(model) {
|
|
this.replaceWith('step', model.start);
|
|
}
|
|
});
|