REST and hierarchy of controllers

Hi all,

I’m trying to convert my application over to REST. However, currently
I keep definate sections of controllers grouped together in subfolders.
It seems to work the best for defining navigation and keeping things
organized.

Is there a better way to accomplish this rather than subfolders? or is
there a way to make something like:

map.resources :stores do |store|
	store.resources :store_categories
end

aware that the path to store_categories is actually something like
‘store/categories_controller’ or even
‘store/store_categories_controller’?

Any thoughts on this would be greatly appreciated.

davis