fix bug in bundle assets method.
This commit is contained in:
parent
d50638cc75
commit
2bbb9e55e9
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue