phpvms/app/Providers/ViewComposerServiceProvider.php
Nabeel S 45873431e4
Add public/private pages #641 (#644)
* Add public/private pages #641

* Cleanup the form requests
2020-03-28 13:03:52 -04:00

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);
}
}