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
|
field.category_items.build :name => value
|
||||||
end
|
end
|
||||||
value
|
value
|
||||||
else # string, text
|
when 'text'
|
||||||
|
replace_images!(value)
|
||||||
|
else # string
|
||||||
value
|
value
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user