FEATURE: finish template
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace Templates\DoucovaniNeratovice\Providers;
|
||||
|
||||
use App\Helpers\Template;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Templates\Base\OnePage\Widgets\OnePageMenu\OnePageMenu;
|
||||
use Templates\Base\OnePage\Widgets\OnePageMenu\Presenter;
|
||||
|
||||
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('menu');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user