Commit 2296f63b by Taylor Otwell

tweak bundle:assets.

parent e828b6c0
......@@ -255,6 +255,8 @@ class 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().'/';
}
......
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