Skip to content

Commit

Permalink
Valid ExampleService
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Nov 9, 2015
1 parent b71aefd commit 774dbbe
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions api/hooks/example/services/ExampleService.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
/**
* Created by jaumard on 11/05/2015.
*/


module.exports = {
/**
* Can be overrided on ExampleService.js file on your sails server
* @param req
* @param res
*/
test: function (req, res) {
console.log("test method on ExampleService");
res.json('ok');

test: function () {
console.log("test method on ExampleService");
}
};

0 comments on commit 774dbbe

Please sign in to comment.