not-found.js 220 B

12345678910
  1. import MisagoRoute from 'misago/routes/misago';
  2. export default MisagoRoute.extend({
  3. actions: {
  4. didTransition: function() {
  5. // Not found route transitions to error404
  6. throw {status: 404};
  7. }
  8. }
  9. });