Skip to content

@johnhamelink /standardControllers.js secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
var baseController = function(par){
this.flow = par;
};
baseController.prototype.show = function(req,res){
res.json({
title: 'Standard controller [index]',
request: req
});
};
baseController.prototype.create = function(req,res){
res.json({
title: 'Standard controller [index]',
request: req
});
};
baseController.prototype.search = function(req,res){
res.json({
title: 'Standard controller [index]',
request: req
});
};
baseController.prototype.update = function(req,res){
res.json({
title: 'Standard controller [index]',
request: req
});
};
baseController.prototype.remove = function(req,res){
res.json({
title: 'Standard controller [index]',
request: req
});
};
module.exports = baseController;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.