On 3/24/06, Mike Kent <[EMAIL PROTECTED]> wrote:
> I wanted to reorg my site such that a url of 'mysite.com/blog' would
> naturally serve up my blog page, and 'mysite.com/blog/feed' would get
> you to the default feed type, as provided by a FeedController.  SO,
> with my reorg, I made the blog its own controller (NOT a root
> controller, TY Kevin), and mounted it under my root controller.  Then,
> I made a feed controller using TG's FeedController, and mounted it
> under my blog controller.
>
> Unfortunately, TG's FeedController is coded as a subclass of
> RootController, which means it insists on being accessed as '/feed',
> rather than '/blog/feed'.

RootController really only has to do with URL generation... it has
nothing to do with traversal. If you stick the feed controller on your
blog controller, you should still access it as /blog/feed.

Kevin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to