On Dec 6, 12:12 pm, "Lee Bolding" <[EMAIL PROTECTED]> wrote:
> Hey people,
>
> Am I missing something amazingly obvious here?
>
> I'm trying to make a link to a regular, non-routed URI (like a PDF etc) that
> resides in /web on my server.
>
> There doesn't seem to be any helper to create such a link (as far as I can
> tell). link_to is routed, as is url_for.
>
> Seems like the best match would be something from the asset helpers, but
> there is only image, stylesheet and javascript helpers... why not a generic
> "link" helper? ("link_tag"?)
>
> Is there some solution that I'm missing other than manually coding the link
> in my template? (which looks a bit odd when mixed amongst all the link_to's)

Hi,
i`m using _compute_public_path($filename, $dir, $extension)

Hope this help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to