tweak bundle:assets.
This commit is contained in:
parent
e828b6c0c3
commit
2296f63b8f
|
|
@ -255,6 +255,8 @@ public static function path($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().'/';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue