Nested Controllers?

I’ve been watching the new REST peepcode. I’m not really at the
experience level yet to be implementing my current project using
restful rails. Is there an elegant way in non-rest to get a url like
this:

/categories/1/topics/2

That way categories would have its own controller and topics would have a seperate controller.

Thanks