Migrated from using-liquid-without-rails v3

odorcicd
2010-08-12 13:45:57 -07:00
parent b4f30bad56
commit 70737f2deb
+2 -2
@@ -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>