45873431e4
* Add public/private pages #641 * Cleanup the form requests
18 lines
414 B
PHP
18 lines
414 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Http\Composers\PageLinksComposer;
|
|
use App\Http\Composers\VersionComposer;
|
|
use Illuminate\Support\Facades\View;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ViewComposerServiceProvider extends ServiceProvider
|
|
{
|
|
public function boot()
|
|
{
|
|
View::composer('*', PageLinksComposer::class);
|
|
View::composer('admin.sidebar', VersionComposer::class);
|
|
}
|
|
}
|