From 2bbb9e55e9928f7fabe4c1881216b27b89691543 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 16 Jan 2012 19:25:01 -0600 Subject: [PATCH] fix bug in bundle assets method. --- laravel/bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/bundle.php b/laravel/bundle.php index a34d2d67..42c7b252 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -159,7 +159,7 @@ public static function path($bundle) */ public static function assets($bundle) { - return ($bundle != DEFAULT_BUNDLE) ? PUBLIC_PATH."bundles/{$bundle}/" : PUBLIC_PATH; + return ($bundle != DEFAULT_BUNDLE) ? URL::base()."/bundles/{$bundle}/" : PUBLIC_PATH; } /**