replace Asset by ContentAsset in the export module
This commit is contained in:
parent
eacdb2873e
commit
4da434deb1
@ -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('/')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user