bundle::exists should return true for default bundle.

This commit is contained in:
Taylor Otwell 2012-02-06 08:28:45 -06:00
parent 395236d643
commit 643b440872
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ public static function handles($uri)
*/
public static function exists($bundle)
{
return in_array(strtolower($bundle), static::names());
return $bundle == DEFAULT_BUNDLE or in_array(strtolower($bundle), static::names());
}
/**