text: const Router = require('express').Router()
  const controller = require('../controllers/ResourceController')
  
  Router.get('/view/:id', controller.getAll)
  Router.post('/', controller.createOne)
  Router.put('/:id', controller.updateOne)
  Router.delete('/:id', controller.deleteOne)
  
  module.exports = Router