mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
19 lines
325 B
JavaScript
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'
|
|
};
|
|
}
|
|
}
|