mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
299b59385b
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; |