Error pages
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user