Displaying 1 result from an estimated 1 matches for "liquid_bodi".
Did you mean:
liquid_body
2006 May 16
2
liquid: passing objects
I''ve got Liquid installed and maybe since I''m not coming in with Django
experience, I''m completely mystified by how to pass anything worthwhile
to a template.
In my controller:
def preview
@customer = Customer.find(1)
@letter = Letter.find(1)
@liquid_body = Liquid::Template.parse(@letter.body)
@x =