Best Practice for nested resources

Hi all,

I’m writing an app that has a reporting component. All of the reports
are in a controller called reports_controller. I’m using REST routes,
and I’d like to do something like:


and have it call the myreport action of the reports controller. Is
there a way to do this? Is this where I would use something like:

map.resources :properties do |property|
~~ something here to reference myreport ??? ~~


You might want to check out resource_controller