allow locals in render method
Merge pull request #26 from hobofan/master

allow locals in render method