0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client/routes/error404.js
Hannah Wolfe 299b59385b Add error template, route and controller
closes #2851

- 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
No EOL
215 B
JavaScript

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