Skip to content

Commit 2d19577

Browse files
authored
Revert "Dont register routes and middleware if we are not in debug mode (#906)" (#918)
This reverts commit f78618a.
1 parent b1fe6d2 commit 2d19577

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ function ($app) {
6363
*/
6464
public function boot()
6565
{
66-
if (!$this->app['config']->get('app.debug')) {
67-
return;
68-
}
69-
7066
$configPath = __DIR__ . '/../config/debugbar.php';
7167
$this->publishes([$configPath => $this->getConfigPath()], 'config');
7268

0 commit comments

Comments
 (0)