I want to make a server error message. I am creating a special route displaying the representation of the error message. At the same time, I do not want to redirect this route URL to be able to reload the current page. So I decided to use feature rendering in the application route.
actions: {
error: function(error, transition) {
if (error.errors) {
return this.render('server-error.internal');
}
return true;
}
}
It works correctly when I redirect the error page from another application route that loads correctly. When I manually print the URL of the error page, I accept the error
Unable to read the "push" property from undefined
"connections". github, . .
ember-cli: 2.4.3