default location to bundle name.

This commit is contained in:
Taylor Otwell 2012-01-27 19:38:22 -06:00
parent 4774c8d91e
commit 161796e983
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Bundle {
*/
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
// and convert it to an array so that the developer may conveniently add