move group endpoint from app unit to api unit

This commit is contained in:
Vishal Banthia
2015-12-02 23:06:14 +09:00
parent d6f37681ce
commit 5729095acb
4 changed files with 57 additions and 24 deletions

View File

@@ -181,8 +181,8 @@ module.exports = function DeviceServiceFactory($http, socket, EnhanceDeviceServi
, digest: true
})
oboe('/app/api/v1/group')
.node('devices[*]', function(device) {
oboe('/api/v1/group')
.node('devices[*]', function (device) {
tracker.add(device)
})