'use strict';

var express = require('express');
var controller = require('./controller.js');

/* eslint-disable no-param-reassign */
function Routes({ layoutPath, services }) {
    const router = express.Router({ mergeParams: true });
    const reportCatalogueController = new controller(layoutPath, services);
    router.get('/', reportCatalogueController.GET);
    return router;
}
const ReportCatalogueRoutes = ({ services, path, layoutPath, }) => {
    const router = express.Router({ mergeParams: true });
    router.use(path, Routes({ services, layoutPath }));
    return router;
};

exports.ReportCatalogueRoutes = ReportCatalogueRoutes;
exports.Routes = Routes;
//# sourceMappingURL=routes.js.map
