I am sorry. I forgot to write what i got.

yes. unfortunatly i got :

www.mydomain.com/aboutus

i expect 

www.mydomain.com/aboutus.html

I have changed that setting but still the same result :(

Of course i have cleared cache.
--- 25/11/10 Per tarihinde Pierre-Yves LEBECQ <[email protected]> şöyle 
yazıyor:

Kimden: Pierre-Yves LEBECQ <[email protected]>
Konu: Re: [symfony-users] 1.4 routing .html problem
Kime: [email protected]
Tarihi: 25 Kasım 2010 Perşembe, 11:15

And what's the problem ? You did tell us the expected result but not the 
current result. It will be hard to guess what's wrong ^^
If the problem is the ".html" missing at the end, you have to look for a 
parameter "generate_shortest_url" in the factories.yml and set it to false.





2010/11/24 Guychmyrat Amanmyradov <[email protected]>




Hi,

i am trying to route. This is my routing role :

about_us:
  url:   /about_us.:sf_format
  param: { module: pages, action: aboutus, sf_format: html }
  requirements:
    sf_format: (html|xml)



And here is my link :

<?php echo link_to(__('About Us'), url_for('@about_us?sf_format=html'), 
array('class'=>'latestnews')) ?>

I want my output
 :

www.mydomain.com/aboutus.html





-- 

If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

 

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






-- 

If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

 

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



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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