* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * TemplateController. * * @author Fabien Potencier */ class TemplateController extends Controller { /** * Renders a template. * * @param string $template The template name * * @return Response A Response instance */ public function templateAction($template) { return $this['templating']->renderResponse($template); } }