Error pages

This commit is contained in:
Ben Ramey
2014-05-13 13:34:19 -05:00
parent d02bd6c659
commit 605a004f8b
7 changed files with 48 additions and 234 deletions

View File

@@ -8,6 +8,10 @@ lunchControllers.controller 'RunCtrl', ['$scope', 'socket', '$routeParams', ($sc
socket.get '/run/' + $routeParams['id'],
(response) ->
if response.status is 404
window.location = '/404'
return
$scope.show = true
$scope.run = response