added new template for 404

This commit is contained in:
Mario Colque 2014-01-17 15:25:26 -03:00
parent 542454e2fc
commit afeec834a8
2 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,7 @@ angular.module('insight').config(['$routeProvider',
templateUrl: 'views/status.html'
}).
otherwise({
redirectTo: '/'
templateUrl: 'views/404.html'
});
}
]);

5
public/views/404.html Normal file
View 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>