I have created a route called “page-not-found” in my ember application to catch all error routes. It is working fine when I type something erroneous in the URL like
Note the “hash” in the URL. I have specified my locationType as “hash”. Now I want to redirect to the “page-not-found” route even if the URL doesn’t contain hash in it. Currently, it is throwing me error "Cannot Get name-other-than-route" on the web page when I use like this.
Is there any way to achieve this? Is this possible? Kindly assist me.