added new template for 404
This commit is contained in:
parent
542454e2fc
commit
afeec834a8
@ -26,7 +26,7 @@ angular.module('insight').config(['$routeProvider',
|
|||||||
templateUrl: 'views/status.html'
|
templateUrl: 'views/status.html'
|
||||||
}).
|
}).
|
||||||
otherwise({
|
otherwise({
|
||||||
redirectTo: '/'
|
templateUrl: 'views/404.html'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|||||||
5
public/views/404.html
Normal file
5
public/views/404.html
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Ooops!</h1>
|
||||||
|
<h2 class="text-muted">Page not found :(</h2>
|
||||||
|
<p><a href="/" class="pull-right">Go to home</a></p>
|
||||||
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user