Do not redirect on API 404

This commit is contained in:
Joseph Schorr 2015-11-03 12:23:39 -05:00
parent c7b25a704c
commit cf8497593d

View file

@ -226,11 +226,6 @@ quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanServi
return false;
}
if (response.status == 404) {
document.location = '/404';
return false;
}
return true;
});