finished the asset tests.

This commit is contained in:
Taylor Otwell
2012-01-18 10:47:48 -06:00
parent 9977ccb708
commit 19f8430ce2
3 changed files with 138 additions and 8 deletions

View File

@@ -254,7 +254,7 @@ class Asset_Container {
// ensure that we attach the correct path to the asset.
if (filter_var($asset['source'], FILTER_VALIDATE_URL) === false)
{
$asset['source'] = Bundle::assets($this->bundle).$asset['source'];
$asset['source'] = $this->path($asset['source']);
}
return HTML::$group($asset['source'], $asset['attributes']);