<?php
// pages/components/newsletter_campaign_modal.php
// Thin wrapper delegating to generic CRUD controller

use Components\Resources\Controllers\CrudController;
use Components\Models\NewsletterCampaign;

ob_start();

echo CrudController::handle([
    'modelClass'   => NewsletterCampaign::class,
    'selfRoute'    => 'newsletter_campaign_modal',
    'oobListRoute' => 'newsletter_campaigns_list',
]);

$__html = ob_get_clean();
echo $__html;
