Ghost/ghost/admin/app/routes/error404.js

19 lines
325 B
JavaScript
Raw Normal View History

import Route from '@ember/routing/route';
export default class Error404Route extends Route {
controllerName = 'error';
templateName = 'error';
model() {
return {
status: 404
};
}
buildRouteInfoMetadata() {
return {
2022-05-16 17:22:52 +03:00
titleToken: 'Error'
};
}
}