Remove unused code
This commit is contained in:
parent
3b1866ffba
commit
84f760d930
@ -38,10 +38,6 @@ class AppServiceProvider extends ServiceProvider
|
||||
// Control the URL generated by url() function
|
||||
$this->configureUrlGenerator();
|
||||
|
||||
Blade::if('admin', function (User $user) {
|
||||
return $user->isAdmin();
|
||||
});
|
||||
|
||||
Event::listen(Events\RenderingHeader::class, function ($event) {
|
||||
$blessing = [
|
||||
'version' => config('app.version'),
|
||||
|
Loading…
Reference in New Issue
Block a user