Folks,

I'd like the following functionality for my routes:

I have some special routes in order of sequence to point those calls
to specific controllers/actions.

But now, for the following url string, I want the following standard
url string:

www.blah.com/<controller>?params1=1&params2=2....

For the above standard url string, I want the controller to be the
wildcard that takes a controller name and then I want the action to be
something that's constant like 'run'.  Basically, I don't want the
design where I keep adding more actions into a controller.  I want my
controller to inherit the base controller class and call run 'run'
method to take care of the request.  I currently have:

map.connect(':controller/*', controller=':controller', action='run')

As you can see, I"m trying to make my route point to the controller
that was passed in and then hardcode the action to 'run' which each
controller file will define.

How can I acheive this wildcarding etc.. in routes?

Thanks,

Sam.


--~--~---------~--~----~------------~-------~--~----~
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