No echo of the url directive

sent via htc magic

On Feb 1, 2010 5:40 PM, "HiDDeN" <davidmoralesmoj...@gmail.com> wrote:

Hello. I have defined this homepage route in my routing.yml :

homepage:
 url:   /
 param: { module: home, action: index }

I have defined the logo in my site to be pointing to that route this
way:

<a href="<?php url_for('@homepage') ?>"><img id="logo" src="http://
www.example.com/images/logo.jpg" /></a>

When I'm in any page, for example in the contact page, I place the
mouse cursor over the logo, and it points to the current page (in this
case, to http://www.example.com/contact).

Why isn't it pointing to the homepage?

--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
.
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to