We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7841e3e commit 6fc536cCopy full SHA for 6fc536c
app/pods/questions/new/controller.js
@@ -3,7 +3,7 @@ import Controller from '@ember/controller';
3
export default Controller.extend({
4
actions: {
5
saveCourse () {
6
- this.get('question').save().then(question => {
+ return this.get('question').save().then(question => {
7
this.transitionToRoute('questions.id', question)
8
})
9
}
0 commit comments