Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Jun 7, 2020
1 parent 12167ed commit b967865
Show file tree
Hide file tree
Showing 106 changed files with 48 additions and 66,181 deletions.
20 changes: 19 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
use AvoRed\Framework\Support\Facades\Menu;
use Barryvdh\Debugbar\Facade;
use Barryvdh\Debugbar\ServiceProvider as DebugbarServiceProvider;
use Illuminate\Foundation\AliasLoader;

class AppServiceProvider extends ServiceProvider
{
Expand All @@ -17,7 +20,22 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
//
if ($this->app->environment() != 'production') {
/**
* Loader for registering facades.
*/
$loader = AliasLoader::getInstance();

/*
* Load third party local providers
*/
$this->app->register(DebugbarServiceProvider::class);

/*
* Load third party local aliases
*/
$loader->alias('Debugbar', Facade::class);
}
}

/**
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
},
"extra": {
"laravel": {
"dont-discover": []
"dont-discover": [
"barryvdh/laravel-debugbar"
]
}
},
"autoload": {
Expand Down
1 change: 0 additions & 1 deletion public/js/chunk/0.2273b9a70050e0bb5dd0.js

This file was deleted.

Loading

0 comments on commit b967865

Please sign in to comment.