Fixed double '/' in generated assets URLs

This commit is contained in:
Franck Allimant
2013-11-25 11:37:52 +01:00
parent 4e5daf8c9f
commit c587cc3813

View File

@@ -345,6 +345,6 @@ class AsseticAssetManager implements AssetManagerInterface
$writer->writeAsset($asset);
}
return rtrim($output_url, '/') . '/' . $output_relative_web_path . $asset_target_filename;
return rtrim($output_url, '/') . '/' . ltrim($output_relative_web_path, '/') . $asset_target_filename;
}
}