mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +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'
|
|
};
|
|
}
|
|
}
|