Revert "Dont register routes and middleware if we are not in debug mode (#906)" (#918)

This reverts commit f78618a0ea.
This commit is contained in:
Barry vd. Heuvel 2019-03-25 10:39:08 +01:00 committed by GitHub
parent b1fe6d2342
commit 2d195779ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -63,10 +63,6 @@ class ServiceProvider extends \Illuminate\Support\ServiceProvider
*/
public function boot()
{
if (!$this->app['config']->get('app.debug')) {
return;
}
$configPath = __DIR__ . '/../config/debugbar.php';
$this->publishes([$configPath => $this->getConfigPath()], 'config');