diff --git a/laravel/core.php b/laravel/core.php index 229fc42f..1dd61acf 100644 --- a/laravel/core.php +++ b/laravel/core.php @@ -149,7 +149,7 @@ foreach ($bundles as $key => $value) { - $handles = array_get($value, 'handles'); + $location = (is_array($value)) ? $value['location'] : $value; - Bundle::register($key, $value['location'], $handles); + Bundle::register($key, $location, array_get($value, 'handles')); } \ No newline at end of file