starring support (#43)

This commit is contained in:
Athou
2013-04-30 11:29:02 +02:00
parent 2cbf51c287
commit bfde9241eb
8 changed files with 55 additions and 6 deletions

View File

@@ -186,6 +186,12 @@ function($resource, $http) {
params : {
_method : 'mark'
}
},
star : {
method : 'POST',
params : {
_method : 'star'
}
}
};
var res = $resource('rest/entry/:_method', {}, actions);