dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25363
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12564: Minor
------------------------------------------------------------
revno: 12564
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-10-10 19:17:33 +0200
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java 2013-09-25 15:08:16 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/SystemController.java 2013-10-10 17:17:33 +0000
@@ -81,7 +81,7 @@
// UID Generator
//--------------------------------------------------------------------------
- @RequestMapping( value = "/uid", method = RequestMethod.GET )
+ @RequestMapping( value = { "/uid", "/id" }, method = RequestMethod.GET )
public void getUid( @RequestParam(required = false) Integer n, HttpServletResponse response ) throws IOException
{
response.setContentType( ContextUtils.CONTENT_TYPE_JSON );