{"action":"created","comment":{"url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/comments/57360919","id":57360919,"diff_hunk":"@@ -0,0 +1,53 @@\n+<?php\n+\n+namespace AppBundle\\Twig;\n+\n+\n+use Symfony\\Component\\DependencyInjection\\ContainerInterface;\n+\n+class SearchboxExtension extends \\Twig_Extension\n+{\n+    /**\n+     * @var ContainerInterface\n+     */\n+    private $container;\n+\n+    /**\n+     * @param ContainerInterface    $container    To get templating from.\n+     */\n+    public function __construct(ContainerInterface $container)","path":"src/AppBundle/Twig/SearchboxExtension.php","position":18,"original_position":18,"commit_id":"7570be87d77afaaa6e446b01e50a35131b38d19d","original_commit_id":"7570be87d77afaaa6e446b01e50a35131b38d19d","user":{"login":"maidmaid","id":4578773,"avatar_url":"https://avatars.githubusercontent.com/u/4578773?v=3","gravatar_id":"","url":"https://api.github.com/users/maidmaid","html_url":"https://github.com/maidmaid","followers_url":"https://api.github.com/users/maidmaid/followers","following_url":"https://api.github.com/users/maidmaid/following{/other_user}","gists_url":"https://api.github.com/users/maidmaid/gists{/gist_id}","starred_url":"https://api.github.com/users/maidmaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maidmaid/subscriptions","organizations_url":"https://api.github.com/users/maidmaid/orgs","repos_url":"https://api.github.com/users/maidmaid/repos","events_url":"https://api.github.com/users/maidmaid/events{/privacy}","received_events_url":"https://api.github.com/users/maidmaid/received_events","type":"User","site_admin":false},"body":"Injecter plutôt ``form.factory`` et ``templating`` ? ","created_at":"2016-03-24T18:04:05Z","updated_at":"2016-03-24T18:04:05Z","html_url":"https://github.com/ZHB/hesso-viaferrata/pull/31#discussion_r57360919","pull_request_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/comments/57360919"},"html":{"href":"https://github.com/ZHB/hesso-viaferrata/pull/31#discussion_r57360919"},"pull_request":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31","id":63949278,"html_url":"https://github.com/ZHB/hesso-viaferrata/pull/31","diff_url":"https://github.com/ZHB/hesso-viaferrata/pull/31.diff","patch_url":"https://github.com/ZHB/hesso-viaferrata/pull/31.patch","issue_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/31","number":31,"state":"open","locked":false,"title":"#10 Add user geo location and redirect to the current country. If no …","user":{"login":"ZHB","id":219280,"avatar_url":"https://avatars.githubusercontent.com/u/219280?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHB","html_url":"https://github.com/ZHB","followers_url":"https://api.github.com/users/ZHB/followers","following_url":"https://api.github.com/users/ZHB/following{/other_user}","gists_url":"https://api.github.com/users/ZHB/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHB/subscriptions","organizations_url":"https://api.github.com/users/ZHB/orgs","repos_url":"https://api.github.com/users/ZHB/repos","events_url":"https://api.github.com/users/ZHB/events{/privacy}","received_events_url":"https://api.github.com/users/ZHB/received_events","type":"User","site_admin":false},"body":"J'ai ajouté la géolocalisation du visiteur lorsqu'on se rend sur _app_dev.php/viaferrata_\r\nSi la géolocalisation échoue une liste des pays ou il y a une VF est proposée.\r\n\r\n@guluk, tu peux insérer la carte comprenant les VF sur la route **viaferrata_index_by_country**. Il te suffit d'adapter ce que tu as fais en ne prenant en compte que les VF du pays en question.\r\n\r\n@HadesCH, tu peux utiliser la route **viaferrata_show_by_country** pour afficher les détails des pays.\r\n\r\n@maidmaid, est-ce que ça joue pour toi ?\r\n\r\n@meons, profites bien de Tokyo :)","created_at":"2016-03-23T20:40:51Z","updated_at":"2016-03-24T18:04:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37039406ebb2e5d3f8ebef48f20001286d10c65b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31/commits","review_comments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31/comments","review_comment_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/31/comments","statuses_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/statuses/7570be87d77afaaa6e446b01e50a35131b38d19d","head":{"label":"ZHB:viaferrata_search","ref":"viaferrata_search","sha":"7570be87d77afaaa6e446b01e50a35131b38d19d","user":{"login":"ZHB","id":219280,"avatar_url":"https://avatars.githubusercontent.com/u/219280?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHB","html_url":"https://github.com/ZHB","followers_url":"https://api.github.com/users/ZHB/followers","following_url":"https://api.github.com/users/ZHB/following{/other_user}","gists_url":"https://api.github.com/users/ZHB/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHB/subscriptions","organizations_url":"https://api.github.com/users/ZHB/orgs","repos_url":"https://api.github.com/users/ZHB/repos","events_url":"https://api.github.com/users/ZHB/events{/privacy}","received_events_url":"https://api.github.com/users/ZHB/received_events","type":"User","site_admin":false},"repo":{"id":52659363,"name":"hesso-viaferrata","full_name":"ZHB/hesso-viaferrata","owner":{"login":"ZHB","id":219280,"avatar_url":"https://avatars.githubusercontent.com/u/219280?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHB","html_url":"https://github.com/ZHB","followers_url":"https://api.github.com/users/ZHB/followers","following_url":"https://api.github.com/users/ZHB/following{/other_user}","gists_url":"https://api.github.com/users/ZHB/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHB/subscriptions","organizations_url":"https://api.github.com/users/ZHB/orgs","repos_url":"https://api.github.com/users/ZHB/repos","events_url":"https://api.github.com/users/ZHB/events{/privacy}","received_events_url":"https://api.github.com/users/ZHB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZHB/hesso-viaferrata","description":"","fork":false,"url":"https://api.github.com/repos/ZHB/hesso-viaferrata","forks_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/forks","keys_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/teams","hooks_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/hooks","issue_events_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/events{/number}","events_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/events","assignees_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/assignees{/user}","branches_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/branches{/branch}","tags_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/tags","blobs_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/statuses/{sha}","languages_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/languages","stargazers_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/stargazers","contributors_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/contributors","subscribers_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/subscribers","subscription_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/subscription","commits_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/contents/{+path}","compare_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/merges","archive_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/downloads","issues_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues{/number}","pulls_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls{/number}","milestones_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/milestones{/number}","notifications_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/labels{/name}","releases_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/releases{/id}","deployments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/deployments","created_at":"2016-02-27T09:26:33Z","updated_at":"2016-03-17T16:40:20Z","pushed_at":"2016-03-24T17:21:23Z","git_url":"git://github.com/ZHB/hesso-viaferrata.git","ssh_url":"git@github.com:ZHB/hesso-viaferrata.git","clone_url":"https://github.com/ZHB/hesso-viaferrata.git","svn_url":"https://github.com/ZHB/hesso-viaferrata","homepage":null,"size":7873,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":22,"forks":1,"open_issues":22,"watchers":2,"default_branch":"master"}},"base":{"label":"ZHB:master","ref":"master","sha":"7d101a275758bf81eb4df9c0acab5484287f6bb1","user":{"login":"ZHB","id":219280,"avatar_url":"https://avatars.githubusercontent.com/u/219280?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHB","html_url":"https://github.com/ZHB","followers_url":"https://api.github.com/users/ZHB/followers","following_url":"https://api.github.com/users/ZHB/following{/other_user}","gists_url":"https://api.github.com/users/ZHB/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHB/subscriptions","organizations_url":"https://api.github.com/users/ZHB/orgs","repos_url":"https://api.github.com/users/ZHB/repos","events_url":"https://api.github.com/users/ZHB/events{/privacy}","received_events_url":"https://api.github.com/users/ZHB/received_events","type":"User","site_admin":false},"repo":{"id":52659363,"name":"hesso-viaferrata","full_name":"ZHB/hesso-viaferrata","owner":{"login":"ZHB","id":219280,"avatar_url":"https://avatars.githubusercontent.com/u/219280?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHB","html_url":"https://github.com/ZHB","followers_url":"https://api.github.com/users/ZHB/followers","following_url":"https://api.github.com/users/ZHB/following{/other_user}","gists_url":"https://api.github.com/users/ZHB/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHB/subscriptions","organizations_url":"https://api.github.com/users/ZHB/orgs","repos_url":"https://api.github.com/users/ZHB/repos","events_url":"https://api.github.com/users/ZHB/events{/privacy}","received_events_url":"https://api.github.com/users/ZHB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZHB/hesso-viaferrata","description":"","fork":false,"url":"https://api.github.com/repos/ZHB/hesso-viaferrata","forks_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/forks","keys_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/teams","hooks_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/hooks","issue_events_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/events{/number}","events_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/events","assignees_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/assignees{/user}","branches_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/branches{/branch}","tags_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/tags","blobs_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/statuses/{sha}","languages_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/languages","stargazers_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/stargazers","contributors_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/contributors","subscribers_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/subscribers","subscription_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/subscription","commits_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/contents/{+path}","compare_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/merges","archive_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/downloads","issues_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues{/number}","pulls_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls{/number}","milestones_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/milestones{/number}","notifications_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/labels{/name}","releases_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/releases{/id}","deployments_url":"https://api.github.com/repos/ZHB/hesso-viaferrata/deployments","created_at":"2016-02-27T09:26:33Z","updated_at":"2016-03-17T16:40:20Z","pushed_at":"2016-03-24T17:21:23Z","git_url":"git://github.com/ZHB/hesso-viaferrata.git","ssh_url":"git@github.com:ZHB/hesso-viaferrata.git","clone_url":"https://github.com/ZHB/hesso-viaferrata.git","svn_url":"https://github.com/ZHB/hesso-viaferrata","homepage":null,"size":7873,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":22,"forks":1,"open_issues":22,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31"},"html":{"href":"https://github.com/ZHB/hesso-viaferrata/pull/31"},"issue":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/31"},"comments":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/ZHB/hesso-viaferrata/statuses/7570be87d77afaaa6e446b01e50a35131b38d19d"}}}}