mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: remove Webpack and depend on nodemon. feat: refactoring expenses. feat: optimize system users with caching. feat: architecture tenant optimize.
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import express from 'express';
|
|
import { Container } from 'typedi';
|
|
import Bills from 'api/controllers/Purchases/Bills'
|
|
import BillPayments from 'api/controllers/Purchases/BillsPayments';
|
|
|
|
export default {
|
|
|
|
router() {
|
|
const router = express.Router();
|
|
|
|
router.use('/bills', Container.get(Bills).router());
|
|
router.use('/bill_payments', Container.get(BillPayments).router());
|
|
|
|
return router;
|
|
}
|
|
} |