{"action":"created","issue":{"url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/502","labels_url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/502/comments","events_url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/502/events","html_url":"https://github.com/dustin10/VichUploaderBundle/issues/502","id":127155335,"number":502,"title":"Generate URL for Amazon S3","user":{"login":"fcpauldiaz","id":4523284,"avatar_url":"https://avatars.githubusercontent.com/u/4523284?v=3","gravatar_id":"","url":"https://api.github.com/users/fcpauldiaz","html_url":"https://github.com/fcpauldiaz","followers_url":"https://api.github.com/users/fcpauldiaz/followers","following_url":"https://api.github.com/users/fcpauldiaz/following{/other_user}","gists_url":"https://api.github.com/users/fcpauldiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/fcpauldiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcpauldiaz/subscriptions","organizations_url":"https://api.github.com/users/fcpauldiaz/orgs","repos_url":"https://api.github.com/users/fcpauldiaz/repos","events_url":"https://api.github.com/users/fcpauldiaz/events{/privacy}","received_events_url":"https://api.github.com/users/fcpauldiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-18T05:15:59Z","updated_at":"2016-01-18T07:41:41Z","closed_at":"2016-01-18T07:41:41Z","body":"I'm using Gaufrette as a layer to make uploads to Amazon S3 servers. It works like expected but I don't know how to make the URL'S. I can't find any documentation about this.\r\n\r\nThe way I did it was: first make the folder public in my Amazon server and the following hack:\r\n```twig\r\n<a  target=\"_blank\" href=\"https://s3.amazonaws.com/plataformavirtual/parcialesyhdt/{{doc.documentName}}\">Descargar</a>\r\n```\r\nIs there another way to do this?\r\n\r\nWhen I didn't have the Amazon server I did it this way:\r\n```twig\r\n<a  target=\"_blank\" href=\"{{ vich_uploader_asset(doc, 'documentFile') }}\">Descargar</a>\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/comments/172452570","html_url":"https://github.com/dustin10/VichUploaderBundle/issues/502#issuecomment-172452570","issue_url":"https://api.github.com/repos/dustin10/VichUploaderBundle/issues/502","id":172452570,"user":{"login":"fcpauldiaz","id":4523284,"avatar_url":"https://avatars.githubusercontent.com/u/4523284?v=3","gravatar_id":"","url":"https://api.github.com/users/fcpauldiaz","html_url":"https://github.com/fcpauldiaz","followers_url":"https://api.github.com/users/fcpauldiaz/followers","following_url":"https://api.github.com/users/fcpauldiaz/following{/other_user}","gists_url":"https://api.github.com/users/fcpauldiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/fcpauldiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcpauldiaz/subscriptions","organizations_url":"https://api.github.com/users/fcpauldiaz/orgs","repos_url":"https://api.github.com/users/fcpauldiaz/repos","events_url":"https://api.github.com/users/fcpauldiaz/events{/privacy}","received_events_url":"https://api.github.com/users/fcpauldiaz/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T07:41:41Z","updated_at":"2016-01-18T07:41:41Z","body":"Thank you @GWillmann !"}}