FEATURE: add pipeline for saving also into prague-tennis-camp template
This commit is contained in:
@@ -3,6 +3,7 @@ namespace Templates\PragueTennisCamp\Providers;
|
||||
|
||||
use App\CMS\Helpers\Template;
|
||||
use Modules\ContactForm\Widgets\Form\Presenter;
|
||||
use Templates\PragueTennisCamp\Pipeline\AddTraineeTeamCategory;
|
||||
|
||||
class ServiceProvider extends \Illuminate\Support\ServiceProvider {
|
||||
/**
|
||||
@@ -20,5 +21,8 @@ class ServiceProvider extends \Illuminate\Support\ServiceProvider {
|
||||
return;
|
||||
|
||||
Presenter::$template = Template::name('widgets.contact.form');
|
||||
|
||||
$pipeline = app('displayPipeline');
|
||||
$pipeline->add(AddTraineeTeamCategory::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user