On Jul 14, 2010, at 14:50 , Michael Pedersen wrote: > Routes integration *does* work (well, so far as I know, having never used > it). For me, I followed the tutorials, all of which focused on Object > Dispatch as the mechanism to use. If you could point me to a page that > suggests that Routes is the right way, I'd appreciate it. I've been over the > docs, and don't recall seeing anything that suggested it. > > Thank you for that help, btw. And yes, giving me a page that shows me that > will be helpful.
So it's unclear why a very simple routes file is failing for me, if it's supposed to work. What I did was, following the pylons docs here <http://pylonshq.com/docs/en/0.9.7/controllers/#using-the-rest-controller-with-a-restful-api> paster restcontroller incident incidents Then inside my incidents controller, I see this comment: # To properly map this controller, ensure your config/routing.py # file has a resource setup: # map.resource('incident', 'incidents') which I dutifully did, and it didn't work. Queue a very long trip down the rabbit hole trying to work out why, and I still have no good idea. -- 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.

