import { initCatalogue } from '../../../components/_catalogue/catalogue/utils.js';

class ReportCatalogueController {
    layoutPath;
    services;
    constructor(layoutPath, services) {
        this.layoutPath = layoutPath;
        this.services = services;
    }
    GET = async (req, res) => {
        const catalogue = await initCatalogue({ res, req, services: this.services });
        res.render(`dpr/routes/journeys/report-catalogue/view`, {
            layoutPath: this.layoutPath,
            catalogue,
        });
    };
}

export { ReportCatalogueController as default };
//# sourceMappingURL=controller.js.map
