Skip to content
Snippets Groups Projects
Commit 5c0d0065 authored by Ryan Izard's avatar Ryan Izard
Browse files

Add 'json' to the DeviceManager's REST API to be consistent with the rest....

Add 'json' to the DeviceManager's REST API to be consistent with the rest. Ending the path in a / is bad REST practice.
parent bff2220b
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ public class DeviceRoutable implements RestletRoutable {
@Override
public Restlet getRestlet(Context context) {
Router router = new Router(context);
router.attach("/", DeviceResource.class);
router.attach("/json", DeviceResource.class);
router.attach("/debug", DeviceEntityResource.class);
return router;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment