Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/OrtService.java @ 252:000bcc8c8fde
Fixed path to delete function
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 15 Jul 2013 17:03:27 +0200 |
parents | d8a3d188046f |
children | f4b359aa9127 |
comparison
equal
deleted
inserted
replaced
251:4635fa8de9f4 | 252:000bcc8c8fde |
---|---|
141 * @param ortId The object od. | 141 * @param ortId The object od. |
142 * @param headers The HTTP header containing authorization information. | 142 * @param headers The HTTP header containing authorization information. |
143 * @return Response object. | 143 * @return Response object. |
144 */ | 144 */ |
145 @DELETE | 145 @DELETE |
146 @Path("/{ortId}") | 146 @Path("/{ortId}/{probeId}") |
147 public Response delete( | 147 public Response delete( |
148 @PathParam("ortId") String ortId, | 148 @PathParam("ortId") String ortId, |
149 @Context HttpHeaders headers | 149 @Context HttpHeaders headers |
150 ) { | 150 ) { |
151 try { | 151 try { |