replace Asset by ContentAsset in the export module

This commit is contained in:
did 2011-12-07 00:52:13 -08:00
parent eacdb2873e
commit 4da434deb1

View File

@ -315,7 +315,7 @@ module Locomotive
end
def replace_asset_urls_in(text)
base_url = AssetUploader.new(Asset.new(:site => @site)).store_dir
base_url = ContentAssetUploader.new(ContentAsset.new(:site => @site)).store_dir
(base_url = base_url.split('/')).pop
base_url = base_url.join('/')