FEATURE: add pipeline for saving also into prague-tennis-camp template

This commit is contained in:
Michal Kváček
2017-03-10 09:52:31 +01:00
parent 9bec808d38
commit 0e2aecb529
3 changed files with 39 additions and 36 deletions
@@ -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);
}
}