Commit 5cfe3713 authored by Taylor Otwell's avatar Taylor Otwell

null should return default bundle path.

parent 86102ac4
......@@ -242,6 +242,8 @@ class Bundle {
*/
public static function path($bundle)
{
if (is_null($bundle)) return static::path(DEFAULT_BUNDLE);
return ($bundle == DEFAULT_BUNDLE) ? path('app') : static::location($bundle);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment