In my project, there are a number of controllers (and corresponding templates) that can be grouped together since they share a common purpose. To keep things organized, I've put the controllers in a subdirectory (of the controllers directory) called ai. For example, here are the locations of three controllers: /myproject/controllers/ai/q01.py /myproject/controllers/ai/q23.py /myproject/controllers/ai/w02.py
How should Routes be set up so that the following URL is mapped to the q01 controller above? http://www.somedomain.com/ai/q01 Would the following be correct (assuming it's placed higher in the list)? map.connect('/ai/{controller}/{action}') Thanks. Edgar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
