Given these main site links:
["home", "Link1", "Link2"]

Each of these main links have sub links for example:
home/sublink1
home/sublink2
Link1/sublink1
Link2/sublink3


the routing could be as follows


map.connect('Home', '', controller='home', action='index' )
map.connect('Home', '/Home', controller='home', action='index' )
map.connect('Home', '/Home/sublink1', controller='home',
action='sublink1' )
map.connect('Home', '/Home/sublink2', controller='home',
action='sublink2' )

and so on

I have problems with the main page, this route:
map.connect('Home', '/Home', controller='home', action='index' )

calls this url "/home/home" and does not go back to the index as
expected(404). What would be the right way to route this?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to