I have a couple of namespaces that look the same, the only difference between them is the names. So i
namespace :narrow do resources :posts resources :comments ... ... end namespace :wide do resources :posts resources :comments ... ... end
What I would like to do is the same resources that are defined in each namespace, without the need to make changes in two places when adding / removing / changing resources.
Is there any way to do this?
source share