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 [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.