'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 myReportsCatalogueController = new controller(layoutPath, services);
    router.get('/', myReportsCatalogueController.GET);
    return router;
}
const MyReportsCatalogueRoutes = ({ services, layoutPath, }) => {
    const router = express.Router({ mergeParams: true });
    router.use('/', Routes({ services, layoutPath }));
    return router;
};

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