{"action":"created","issue":{"url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/3","labels_url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/3/comments","events_url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/3/events","html_url":"https://github.com/indigophp/cookie-consent-bundle/issues/3","id":120729079,"number":3,"title":"Configuration options","user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-07T09:15:09Z","updated_at":"2015-12-07T10:03:29Z","closed_at":null,"body":"I notice that the configuration (include separate javascript, target of the \"more information\" link) can only be set from within twig. I would think there is rarely a case where you need different behaviour on different pages of the same application, so putting this into the symfony configuration and inject it from there into the twig extension would probably make more sense."},"comment":{"url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/comments/162469271","html_url":"https://github.com/indigophp/cookie-consent-bundle/issues/3#issuecomment-162469271","issue_url":"https://api.github.com/repos/indigophp/cookie-consent-bundle/issues/3","id":162469271,"user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?v=3","gravatar_id":"","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T10:03:29Z","updated_at":"2015-12-07T10:03:29Z","body":"you could have global configuration and use that as default and allow\noverriding from twig if you think there is a use case for needing to\nchange the settings on a specific page.\n"}}