We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94a1e4 commit 63facf5Copy full SHA for 63facf5
app/routes/confirm.js
@@ -17,10 +17,10 @@ export default Ember.Route.extend({
17
if (error.payload) {
18
console.log("finding error in payload: " + error.payload.errors[0].detail);
19
this.get('flashMessages').queue(`Error in email confirmation: ${error.payload.errors[0].detail}`);
20
- return;
+ return this.replaceWith('index');
21
} else {
22
this.get('flashMessages').queue(`Unknown error in email confirmation`);
23
24
}
25
});
26
app/templates/confirm.hbs
@@ -0,0 +1 @@
1
+<h1>Thanks for confirming</h1>
app/templates/confirm/error.hbs
app/templates/confirm/index.hbs
app/templates/error.hbs
0 commit comments