FIX: remove template service provider from core repository
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
namespace Templates\PragueTennisCamp\Providers;
|
||||
|
||||
use App\CMS\Helpers\Template;
|
||||
use Modules\ContactForm\Widgets\Form\Presenter;
|
||||
use Templates\PragueTennisCamp\Pipeline\AddHotelsCategory;
|
||||
use Templates\PragueTennisCamp\Pipeline\AddTraineeTeamCategory;
|
||||
|
||||
class ServiceProvider extends \Illuminate\Support\ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
}
|
||||
|
||||
public function boot()
|
||||
{
|
||||
if (\App::runningInConsole()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Presenter::$template = Template::name('widgets.contact.form');
|
||||
|
||||
$pipeline = app('displayPipeline');
|
||||
$pipeline->add(AddTraineeTeamCategory::class);
|
||||
$pipeline->add(AddHotelsCategory::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user