Rewrite assets URLs in contents text fields.

This commit is contained in:
Pietro Giorgianni 2012-02-15 17:23:35 +01:00
parent 5139480285
commit b9664fe84f
1 changed files with 3 additions and 1 deletions

View File

@ -161,7 +161,9 @@ module Locomotive
field.category_items.build :name => value field.category_items.build :name => value
end end
value value
else # string, text when 'text'
replace_images!(value)
else # string
value value
end) end)