I need to generate PDF documents and have them send by email as well as make them reachable by a link. Sending by email is OK, but I have no idea how to create the link.
Since I use Laravel 4, all links are going through routes.php
.
So how do I create a link to a file at a given directory?
<a href="http://my.domain.org/assets/pdf/file.pdf">Link</a>
will not work, since the route is not known by laravel...