mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +03:00
96d23447ad
closes #2851 - adds asset paths to ghostPaths as we don't have an asset helper - sends any invalid routes to 404
12 lines
215 B
JavaScript
12 lines
215 B
JavaScript
var Error404Route = Ember.Route.extend({
|
|
controllerName: 'error',
|
|
templateName: 'error',
|
|
|
|
model: function () {
|
|
return {
|
|
status: 404
|
|
};
|
|
}
|
|
});
|
|
|
|
export default Error404Route; |