mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +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'
|
|
};
|
|
}
|
|
}
|