default location to bundle name.
This commit is contained in:
parent
4774c8d91e
commit
161796e983
|
@ -33,7 +33,7 @@ class Bundle {
|
||||||
*/
|
*/
|
||||||
public static function register($bundle, $config = array())
|
public static function register($bundle, $config = array())
|
||||||
{
|
{
|
||||||
$defaults = array('handles' => null, 'auto' => false);
|
$defaults = array('location' => $bundle, 'handles' => null, 'auto' => false);
|
||||||
|
|
||||||
// If the given config is actually a string, we will assume it is a location
|
// If the given config is actually a string, we will assume it is a location
|
||||||
// and convert it to an array so that the developer may conveniently add
|
// and convert it to an array so that the developer may conveniently add
|
||||||
|
|
Loading…
Reference in New Issue