mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:51:03 +08:00
Wizard: Step 1
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
export default Ember.Controller.extend({
|
||||
wizard: null,
|
||||
step: null,
|
||||
|
||||
actions: {
|
||||
goNext() {
|
||||
this.transitionToRoute('step', this.get('step.next'));
|
||||
},
|
||||
goBack() {
|
||||
this.transitionToRoute('step', this.get('step.previous'));
|
||||
},
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user