{"action":"closed","issue":{"url":"https://api.github.com/repos/slimphp/Slim-Website/issues/39","labels_url":"https://api.github.com/repos/slimphp/Slim-Website/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim-Website/issues/39/comments","events_url":"https://api.github.com/repos/slimphp/Slim-Website/issues/39/events","html_url":"https://github.com/slimphp/Slim-Website/issues/39","id":103371644,"number":39,"title":"Multiple themes","user":{"login":"bORm","id":4027842,"avatar_url":"https://avatars.githubusercontent.com/u/4027842?v=3","gravatar_id":"","url":"https://api.github.com/users/bORm","html_url":"https://github.com/bORm","followers_url":"https://api.github.com/users/bORm/followers","following_url":"https://api.github.com/users/bORm/following{/other_user}","gists_url":"https://api.github.com/users/bORm/gists{/gist_id}","starred_url":"https://api.github.com/users/bORm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bORm/subscriptions","organizations_url":"https://api.github.com/users/bORm/orgs","repos_url":"https://api.github.com/users/bORm/repos","events_url":"https://api.github.com/users/bORm/events{/privacy}","received_events_url":"https://api.github.com/users/bORm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-26T21:50:37Z","updated_at":"2015-08-27T00:18:17Z","closed_at":"2015-08-27T00:18:17Z","body":"In Slim v.2.x\r\n```\r\n$app->view->setTemplatesDirectory(\"admin/\");\r\n```\r\n\r\nMy index.php file has path\r\n```\r\n$view = new \\Slim\\Views\\Twig(\r\n        './public/themes/site'\r\n```\r\nHow set another path to my route group as \r\n```\r\n$app->group('/admin',.... {\r\n$container['view'] = function ($c) {\r\n        $view = new \\Slim\\Views\\Twig(\r\n            './public/themes/admin',\r\n})\r\n```\r\n?"}}