diff --git a/laravel/bundle.php b/laravel/bundle.php index 8770a049..462cd905 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -242,6 +242,8 @@ public static function class_prefix($bundle) */ public static function path($bundle) { + if (is_null($bundle)) return static::path(DEFAULT_BUNDLE); + return ($bundle == DEFAULT_BUNDLE) ? path('app') : static::location($bundle); }