Hi!

I have again a routing problem(It seems the routing system doesn't
like me very much :-))

On my site I have a category list, which shoes entries by category.
The routing is defined as:
...
showcategory:
  url:   /category/:slug/:page
  param: { module: gamelists, action: category, slug: action, page:
1 }
...

A corrresponding url look like
/category/dress-up/1

The call to link_top looks like this:
link_to("dress-up","@showcategory?slug=dress-up&page=2")

The problem is, the page parameter in the generated link is always 1.


On my page I have also a list with the newest entries:

routing:
...
newgames:
  url:   /newgames/:page
  param: { module: gamelists, action: new, page: 1 }
...

url:
/newgames/1

link_to:
link_to("new games","@newgames?page=2");

In this list the page parameter works fine. The only point I see, is
the quantity of parameters, but I don't see any reason why it should
not work.

Do you have any ideas?

regards,

Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to