codeguy/Slim-Views — pull request #24 by rmccue (2014-03-16 07:27:01+00:00)
Title: Pass data to Twig template correctly

Calling `$app->view->render('template.twig', [ 'x' => 'y' ]);` calls `$parser->render( $this->all(), $data )`, but the `Twig_Template` method only takes a single parameter. This causes parameters passed into the method to be ignored.