diff --git a/app/router.js b/app/router.js index 8835047..f86e26e 100644 --- a/app/router.js +++ b/app/router.js @@ -32,4 +32,5 @@ Router.map(function () { }); }); this.route('login'); + this.route('not-found', { path: '/*path' }); }); diff --git a/app/routes/not-found.js b/app/routes/not-found.js new file mode 100644 index 0000000..2ce5d42 --- /dev/null +++ b/app/routes/not-found.js @@ -0,0 +1,3 @@ +import Route from '@ember/routing/route'; + +export default class NotFoundRoute extends Route {} diff --git a/app/templates/not-found.hbs b/app/templates/not-found.hbs new file mode 100644 index 0000000..6ee6e83 --- /dev/null +++ b/app/templates/not-found.hbs @@ -0,0 +1,7 @@ +