better documentation

angular
Matt Huntington 10 years ago
parent 211d63eb55
commit f28cff24cf

@ -59,6 +59,7 @@ app.controller('TransgressionsController', ['$http', function($http){
//push the response's data on... //push the response's data on...
controller.current_user_transgressions.pop(); controller.current_user_transgressions.pop();
controller.current_user_transgressions.push(data.transgression); controller.current_user_transgressions.push(data.transgression);
//...and begin refreshing transgression data
getTransgressions(); getTransgressions();
}); });
} }

Loading…
Cancel
Save