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

Use /wm/device/all/json for all devices and /*** where *** is a filter by mac, vlan, ip, etc

parent 5c0d0065
No related branches found
No related tags found
Loading
......@@ -36,7 +36,8 @@ public class DeviceRoutable implements RestletRoutable {
@Override
public Restlet getRestlet(Context context) {
Router router = new Router(context);
router.attach("/json", DeviceResource.class);
router.attach("/all/json", DeviceResource.class);
router.attach("/", 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