Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 141:5d40faf1484d
Added a Rest resource that lists all collections of a specific user.
artifacts/trunk@1366 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 02 Mar 2011 13:31:59 +0000 |
parents | f141ae401a00 |
children | e986e32bc7d4 |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java Wed Mar 02 11:48:34 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java Wed Mar 02 13:31:59 2011 +0000 @@ -78,6 +78,8 @@ router.attach(UserResource.PATH, UserResource.class); router.attach( CreateCollectionResource.PATH, CreateCollectionResource.class); + router.attach( + ListCollectionsResource.PATH, ListCollectionsResource.class); return router; }