discourse/app/assets/javascripts/wizard/routes/step.js.es6

13 lines
226 B
JavaScript

export default Ember.Route.extend({
model(params) {
return {
id: params.step_id,
title: "You're a wizard harry!"
};
},
setupController(controller, model) {
controller.set('step', model);
}
});