2017-08-22 10:53:26 +03:00
|
|
|
import Route from '@ember/routing/route';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
export default class Error404Route extends Route {
|
|
|
|
controllerName = 'error';
|
|
|
|
templateName = 'error';
|
2014-06-24 03:52:10 +04:00
|
|
|
|
2015-10-28 14:36:45 +03:00
|
|
|
model() {
|
2014-06-24 03:52:10 +04:00
|
|
|
return {
|
|
|
|
status: 404
|
|
|
|
};
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|
2019-05-20 18:16:19 +03:00
|
|
|
|
|
|
|
buildRouteInfoMetadata() {
|
|
|
|
return {
|
2019-06-18 13:47:21 +03:00
|
|
|
titleToken: 'Error',
|
|
|
|
mainClasses: ['gh-main-white']
|
2019-05-20 18:16:19 +03:00
|
|
|
};
|
2014-06-24 03:52:10 +04:00
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|