mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-13 09:11:14 -05:00
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
export default Ember.Route.extend({
|
|
model(params) {
|
|
const allSteps = this.modelFor('application').steps;
|
|
return allSteps.findProperty('id', params.step_id);
|
|
},
|
|
|
|
setupController(controller, step) {
|
|
controller.setProperties({
|
|
step, wizard: this.modelFor('application')
|
|
});
|
|
}
|
|
});
|