mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 17:15:12 -07:00
Migrated from using-liquid-without-rails v3
@@ -34,8 +34,8 @@ to_liquid? Where did that come from? Turns out you need to add a method to your
|
||||
@price = price
|
||||
end
|
||||
to_liquid
|
||||
{ :name => self.name,
|
||||
:prict => self.price }
|
||||
{ "name" => self.name,
|
||||
"price" => self.price }
|
||||
end
|
||||
end</code></pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user