Fix call to asset icons in RedBrowser.

RedBrowser was not displaying asset icons correctly, because the URL was wrong.
This commit is contained in:
Klaus 2014-02-15 21:48:40 +01:00
parent d9e4f63466
commit 53d6d4c655

View File

@ -1064,5 +1064,15 @@ class RedBrowser extends DAV\Browser\Plugin {
} }
/**
* This method takes a path/name of an asset and turns it into url
* suiteable for http access.
*
* @param string $assetName
* @return string
*/
protected function getAssetUrl($assetName) {
return '/cloud/?sabreAction=asset&assetName=' . urlencode($assetName);
}
} }