Ghost/ghost/admin/app/routes/error404.js
2022-05-16 19:52:52 +05:30

19 lines
325 B
JavaScript

import Route from '@ember/routing/route';
export default class Error404Route extends Route {
controllerName = 'error';
templateName = 'error';
model() {
return {
status: 404
};
}
buildRouteInfoMetadata() {
return {
titleToken: 'Error'
};
}
}