you cannot pass the id in the param if it is not in the url (I
believe). But inside your action show you can use something like:
sfRouting::getInstance()->getCurrentRouteName() to get the route and
then get the right city to show in your view.


On Oct 30, 11:10 pm, DC <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I had to implement the current routing system
>
> city_columbus:
>   url: /columbus
>   param: { module: city, action: show, id: 3807 }
>
> city_dallas:
>   url: /dallas
>   param: { module: city, action: show, id: 3800 }
>
> The problem is, if I first request:
>
> http://site/columbus
>
> and then
>
> http://site/dallas
>
> I get the same columbus page both times.
>
> Instead, if I request first:
>
> http://site/city/show/id/3807
>
> and then
>
> http://site/city/show/id/3800
>
> They both show the correct pages.
>
> How can I make the first 2 urls work right?


--~--~---------~--~----~------------~-------~--~----~
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