{"action":"created","issue":{"url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/51","labels_url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/51/comments","events_url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/51/events","html_url":"https://github.com/silexphp/Silex-Skeleton/issues/51","id":97328908,"number":51,"title":"Method \"request\" for object \"Silex\\Application\" does not exist","user":{"login":"webslash","id":1878691,"avatar_url":"https://avatars.githubusercontent.com/u/1878691?v=3","gravatar_id":"","url":"https://api.github.com/users/webslash","html_url":"https://github.com/webslash","followers_url":"https://api.github.com/users/webslash/followers","following_url":"https://api.github.com/users/webslash/following{/other_user}","gists_url":"https://api.github.com/users/webslash/gists{/gist_id}","starred_url":"https://api.github.com/users/webslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webslash/subscriptions","organizations_url":"https://api.github.com/users/webslash/orgs","repos_url":"https://api.github.com/users/webslash/repos","events_url":"https://api.github.com/users/webslash/events{/privacy}","received_events_url":"https://api.github.com/users/webslash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-26T15:50:14Z","updated_at":"2015-07-26T16:25:31Z","closed_at":null,"body":"Hey\r\n\r\nEvery time I try to use something like:\r\n{{ app.request.basepath }} in my twig templates.\r\n\r\nI get this error: \r\nMethod \"request\" for object \"Silex\\Application\" does not exist in ...\r\n\r\nHow to fix this?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/comments/125013357","html_url":"https://github.com/silexphp/Silex-Skeleton/issues/51#issuecomment-125013357","issue_url":"https://api.github.com/repos/silexphp/Silex-Skeleton/issues/51","id":125013357,"user":{"login":"kabdessamad1","id":7712969,"avatar_url":"https://avatars.githubusercontent.com/u/7712969?v=3","gravatar_id":"","url":"https://api.github.com/users/kabdessamad1","html_url":"https://github.com/kabdessamad1","followers_url":"https://api.github.com/users/kabdessamad1/followers","following_url":"https://api.github.com/users/kabdessamad1/following{/other_user}","gists_url":"https://api.github.com/users/kabdessamad1/gists{/gist_id}","starred_url":"https://api.github.com/users/kabdessamad1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kabdessamad1/subscriptions","organizations_url":"https://api.github.com/users/kabdessamad1/orgs","repos_url":"https://api.github.com/users/kabdessamad1/repos","events_url":"https://api.github.com/users/kabdessamad1/events{/privacy}","received_events_url":"https://api.github.com/users/kabdessamad1/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T16:25:31Z","updated_at":"2015-07-26T16:25:31Z","body":"If you are using the  silex skeleton then use \r\n{{ asset('path to your css') }}"}}