1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 09:46:17 +00:00

Update database version after upgrade, fix 403 detection on sharing app

This commit is contained in:
jendib
2013-08-15 19:19:58 +02:00
parent 0aa9b44481
commit 84cb6c51dc
3 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ App.controller('Share', function($scope, $state, $stateParams, Restangular) {
.then(function (data) {
$scope.document = data;
}, function (response) {
if (response.data.status == 403) {
if (response.status == 403) {
$state.transitionTo('403');
}
});