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]<symfony-users%[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