mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2025-03-12 02:08:07 +01:00
8 lines
No EOL
257 B
JavaScript
8 lines
No EOL
257 B
JavaScript
const invoicesController = require("../controllers/invoices");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
|
|
router.get("/", invoicesController.listInvoices);
|
|
router.post("/", invoicesController.addInvoice);
|
|
|
|
module.exports = router; |