Added viewFile parameter to beforeRender
Merge pull request #20 from bcrowe/master

Added viewFile parameter to beforeRender