Skip to content

Commit 3553f20

Browse files
committed
Don't use helpers, use $app
1 parent 71a7a5c commit 3553f20

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Barryvdh/Debugbar/LaravelDebugBar.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use DebugBar\Bridge\SwiftMailer\SwiftLogCollector;
1313
use DebugBar\Bridge\SwiftMailer\SwiftMailCollector;
1414
use DebugBar\Bridge\MonologCollector;
15-
use DebugBar\Bridge\Twig\TraceableTwigEnvironment;
16-
use DebugBar\Bridge\Twig\TwigCollector;
1715
use Barryvdh\Debugbar\DataCollector\LaravelCollector;
1816
use Barryvdh\Debugbar\DataCollector\ViewCollector;
1917
use Barryvdh\Debugbar\DataCollector\SymfonyRequestCollector;
@@ -257,7 +255,7 @@ public function boot(){
257255
}
258256

259257
$renderer = $this->getJavascriptRenderer();
260-
$renderer->setBaseUrl(asset('packages/barryvdh/laravel-debugbar'));
258+
$renderer->setBaseUrl($this->app['url']->asset('packages/barryvdh/laravel-debugbar'));
261259
$renderer->setIncludeVendors($this->app['config']->get('laravel-debugbar::config.include_vendors', true));
262260

263261
$this->booted = true;

0 commit comments

Comments
 (0)