lib/locomotive/mounter/reader/api/content_entries_reader.rb
# For a given content, parse it and replace all the urls from content assets
# by their corresponding locale ones.
#
# @param [ String ] content The content to parse
#
# @return [ String ] The content with local urls
#
For a given content, parse it and replace all the urls from content assets
by their corresponding locale ones.
For a given content parse it and replace all the urls from content assets by their corresponding locale ones .
def replace_urls_by_content_assets(content)
            return "" unless content
            self.mounting_point.content_assets.each do |path, asset|
              content.gsub!(path, asset.local_filepath)
            end
            content
          end
def replace_urls_by_content_assets ( content ) return "" unless content self . mounting_point . content_assets . each do | path , asset | content . gsub! ( path , asset . local_filepath ) end content end
For a given content, parse it and replace all the urls from content assets
by their corresponding locale ones.
For a given content parse it and replace all the urls from content assets by their corresponding locale ones .
The content with local urls
The content with local urls
 String 
content
<not_specific>
<not_specific>
content The content to parse
content The content to parse