How I redirect from controller to twig view in slim framework?
<p>How I redirect from controller to view in slim?</p>

<pre><code>class ServiceController{

    $app = new \Slim\App;
    $mw = function ($request, $response, $next) {

                    $response-&gt;withHeader('/twig/html/home.twig');
                    return $response;
    };
    $app-&gt;run();
}
</code></pre>