Created
March 9, 2016 15:28
-
-
Save metalagman/f118ddf6f2b7a79d4ca4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function getAssetUrl($url) | |
{ | |
return \Yii::$app->assetManager->getBundle('frontend\assets\AppAsset')->baseUrl . $url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment