Controller action for file download link in Symfony2

http://www.99bugs.com/controller-action-for-file-download-link-in-symfony2/