Commit da7d076f authored by Taylor Otwell's avatar Taylor Otwell

allow non routable bundles to just use string values.

parent 3a3c5ba5
......@@ -149,7 +149,7 @@ $bundles = require BUNDLE_PATH.'bundles'.EXT;
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment