Rewrite assets URLs in contents text fields.
This commit is contained in:
parent
5139480285
commit
b9664fe84f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue