If you create links on mail templates with link_to and the mails are
sent by task.
The absolute url is created correctly if you set the factories:
all:
routing:
class: sfPatternRouting
param:
context:
host: mydomain.org
But now all urls are generated without like frontend_dev.php if you
are on dev environment:
http://mydomain.org/xxx/xxxx instead of
http://mydomain.org/frontend_dev.php/xxx/xxxx
The workaround is:
cli: # <--- only on cli environment
routing:
class: sfPatternRouting
param:
context:
host: mydomain.org
I think, its a bug!
Or is there another way to create links on email templates (I read the
partial with get_partial and pack the content into swift mailer).
Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---