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

View File

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