Commit 2296f63b authored by Taylor Otwell's avatar Taylor Otwell

tweak bundle:assets.

parent e828b6c0
...@@ -255,6 +255,8 @@ class Bundle { ...@@ -255,6 +255,8 @@ class Bundle {
*/ */
public static function assets($bundle) public static function assets($bundle)
{ {
if (is_null($bundle)) return static::assets(DEFAULT_BUNDLE);
return ($bundle != DEFAULT_BUNDLE) ? URL::base()."/bundles/{$bundle}/" : URL::base().'/'; return ($bundle != DEFAULT_BUNDLE) ? URL::base()."/bundles/{$bundle}/" : URL::base().'/';
} }
......
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