Added possibility to enable / disable tasks.
This commit is contained in:
parent
8f8d78d1df
commit
53a0ecd366
7 changed files with 109 additions and 46 deletions
server
|
@ -18,6 +18,8 @@ angular.module('ffffng').factory('Router', function (
|
|||
|
||||
app.get('/internal/api/tasks', TaskResource.getAll);
|
||||
app.put('/internal/api/tasks/run/:id', TaskResource.run);
|
||||
app.put('/internal/api/tasks/enable/:id', TaskResource.enable);
|
||||
app.put('/internal/api/tasks/disable/:id', TaskResource.disable);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue