Latest work

This commit is contained in:
Dobie Wollert
2015-04-19 21:15:06 -04:00
parent 8cfff70ce0
commit 397b828024
12 changed files with 200 additions and 70 deletions

View File

@ -32,6 +32,7 @@ module.exports = function(app, auth, piler, calendar, directory, config) {
var clients = require('../app/controllers/clients');
app.get('/api/clients', clients.index);
app.get('/api/clients/isUnique', clients.isUnique);
app.get('/api/clients/frequencies', clients.frequencies);
app.get('/api/clients/:client_id', clients.get);
app.get('/api/clients/:client_id/workorders', clients.workorders);