On Jan 29, 2008 1:12 PM, Matt Feifarek <[EMAIL PROTECTED]> wrote: > make_map() stock certainly doesn't work that way.
":controller/:action/:id" does go the other way, if your actions are things like "view", "add", "delete". I use them differently, with the controller being a section of the site and the action being a subsection, as in /faq vs /faq/privacy_policy. Until recently all my pages have been read-only so this has worked well. But for modifiable things I'll need something else. Routes 2 will replace ":controller/:action/:id" with a single default route, which is non-minimizable. So if it's ":controller/:action", you'd have to specify both or use another route. If it's ":controller", you could only specify the controller (useful for TG2 and WSGI controllers; not useful for Pylons controllers). That might make it a good time to transition away from /articles/edit/12 type URLs. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
