fix bug in bundle assets method.

This commit is contained in:
Taylor Otwell 2012-01-16 19:25:01 -06:00
parent d50638cc75
commit 2bbb9e55e9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**