Hello Gustavo,
What didn't work for me is that if my controller I just  subclasses
the BaseController, then it looks like the routing in app_cfg.py is
ignored. TGController  calls a _get_routing_info() function defined in
ObjectDispatchController that does just object dispatch.

Gigi


On Mar 16, 9:46 am, Gustavo Narea <[email protected]> wrote:
> Hello, Carl.
>
> On Saturday March 14, 2009 16:49:17 Carl wrote:
>
> > I tried it but it didn't work for me. Maybe I got the URL syntax
> > wrong. What URLs map to your custom routes?
>
> Those whose paths look like: /<string>/<integer>
>
> > Also, from reading the
> > Routes manual I got the impression that variables are words with a
> > colon in the end (e.g 'prefix:'), but your routes look like regular
> > expressions.
>
> Placeholders can be defined with {brackets} and :colons:, but the later is
> deprecated.
>
> In my case I just wanted to force an integer in one of the variables, hence I
> used a regular expression. It's optional.
>
> Cheers!
>
> PS: What didn't exactly work?
> --
> Gustavo Narea <xri://=Gustavo>.
> | Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to