add params argument to recursive calling of render
Merge pull request #41 from cwickham/master

add params argument to recursive calling of render