Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Aug 31, 2015
2 parents df8621a + 9757910 commit fc5526f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/client/controllers/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ angular.module('MyApp')
.then(function() {
toastr.success('Profile has been updated');
})
.catch(function() {
.catch(function(response) {
toastr.error(response.data.message, response.status);
});
};
Expand All @@ -40,4 +40,4 @@ angular.module('MyApp')
};

$scope.getProfile();
});
});

0 comments on commit fc5526f

Please sign in to comment.