diff options
Diffstat (limited to 'framework/Web/UI/TControl.php')
| -rw-r--r-- | framework/Web/UI/TControl.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index d6e1889d..382e3811 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -262,7 +262,7 @@ class TControl extends TComponent  	{
  		$class=new ReflectionClass(get_class($this));
  		$assetPath=dirname($class->getFileName()).'/'.$assetPath;
 -		return $this->getService()->getAssetManager()->publishFilePath($assetPath);
 +		return $this->getService()->getAsset($assetPath);
  	}
  	/**
 | 
