blob: 6265e274c886f141657f1bfdad2f28fd2221e0e5 (
plain) (
tree)
|
|
module.exports = {
index(req, res) {
res.json({products: "index"});
},
show(req, res) {
res.json({products: "show"});
},
store(req, res) {
res.json({products: "store"});
},
update(req, res) {
res.json({products: "update"});
},
destroy(req, res) {
res.json({products: "destroy"});
},
};
|