olivernn / poirot

mustaches in your rails
http://olivernn.github.com/poirot
108 stars 21 forks source link

Support partial `:locals` #2

Closed charlotte-miller closed 13 years ago

charlotte-miller commented 13 years ago

Hey - great job with this library!

I needed to render a :collection of templates so I added support for :locals as @locals. I'm not sure an instance variable is the best way to handle local variables, but it's working well enough to share.

Hope this helps with Issue #1: https://github.com/olivernn/poirot/issues/1

olivernn commented 13 years ago

I implemented this in a different way, for details see issue 1 https://github.com/olivernn/poirot/issues/1