Skip to content

Commit

Permalink
Revert "Dont register routes and middleware if we are not in debug mo…
Browse files Browse the repository at this point in the history
…de (#906)" (#918)

This reverts commit f78618a.
  • Loading branch information
barryvdh authored Mar 25, 2019
1 parent b1fe6d2 commit 2d19577
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ function ($app) {
*/
public function boot()
{
if (!$this->app['config']->get('app.debug')) {
return;
}

$configPath = __DIR__ . '/../config/debugbar.php';
$this->publishes([$configPath => $this->getConfigPath()], 'config');

Expand Down

0 comments on commit 2d19577

Please sign in to comment.