1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-22 02:11:44 +03:00
Ghost/ghost/admin/routes/error404.js
Hannah Wolfe 96d23447ad Add error template, route and controller
closes 

- adds asset paths to ghostPaths as we don't have an asset helper
- sends any invalid routes to 404
2014-06-24 23:33:02 +01:00

12 lines
215 B
JavaScript

var Error404Route = Ember.Route.extend({
controllerName: 'error',
templateName: 'error',
model: function () {
return {
status: 404
};
}
});
export default Error404Route;