ok so if I get it then mapper(':controller/:action', action='index')
will match /main/index but not main. is that correct?
Jose

Ben Bangert wrote:
> On Aug 30, 2007, at 6:07 PM, Jose Galvez wrote:
>
>> Ben I took a look at your link and I'm confused.  When you say "*Routes
>> recognition and generation will always be explicit* " does this mean
>> that the mapper mapper(':controller/:action/:id' action='index') will
>> not match /main as /main/index
>
> It means that mapper(':controller/:action/:id', action='index') will
> require 3 parts, ie:
> /mail/index/2
>
> If you don't want a 2, leave off the :id part.
>
> This is to prevent multiple valid URL's for the same resource.
>
> - Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
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