allow non routable bundles to just use string values.
This commit is contained in:
parent
3a3c5ba561
commit
da7d076f54
|
@ -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'));
|
||||
}
|
Loading…
Reference in New Issue