Skip to content

Commit 05dd039

Browse files
authored
Merge pull request #48 from yajra/patch
Fix #46 - config() error.
2 parents f9ddf13 + 8afebfb commit 05dd039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function boot()
6161
$routeConfig = [
6262
'namespace' => 'Arrilot\Widgets\Controllers',
6363
'prefix' => 'arrilot',
64-
'middleware' => $this->app->config('laravel-widgets.route_middleware', []),
64+
'middleware' => $this->app['config']->get('laravel-widgets.route_middleware', []),
6565
];
6666

6767
if (!$this->app->routesAreCached()) {

0 commit comments

Comments
 (0)