Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 12:22:54 +01:00
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);
|
|
}
|
|
});
|