Ticket #362: Changed url to be a bit more semantic.

This commit is contained in:
James Muehlner
2013-12-06 10:07:22 -08:00
parent 64e56dc9ab
commit 82413b2103

View File

@@ -143,7 +143,7 @@ public class PermissionRESTService {
* @param permission The permission to remove for the user with the given userID. * @param permission The permission to remove for the user with the given userID.
*/ */
@POST @POST
@Path("/{userID}/remove") @Path("/remove{userID}/")
public void removePermission(@QueryParam("token") String authToken, public void removePermission(@QueryParam("token") String authToken,
@PathParam("userID") String userID, APIPermission permission) { @PathParam("userID") String userID, APIPermission permission) {
UserContext userContext = authenticationService.getUserContextFromAuthToken(authToken); UserContext userContext = authenticationService.getUserContextFromAuthToken(authToken);