From 5cfe3713601e092fd2d836ab45b29097d646568d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Feb 2012 13:02:40 -0600 Subject: [PATCH] null should return default bundle path. --- laravel/bundle.php | 2 ++ 1 file changed, 2 insertions(+) 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); }