aboutsummaryrefslogtreecommitdiff
path: root/server/controllers/products.js
blob: 6265e274c886f141657f1bfdad2f28fd2221e0e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"});
  },

};