Hi,
im running a system with different namespaces, like this:
routes.rb
…
namespace :customer do
…
namespace :account do
…
end
end
namespace :worker do
…
namespace :account do
…
end
end
namespace :admin do
…
namespace :account do
…
end
end
– My AccountController is located in /controllers/account/
When i try to navigate to the Dashboard using
customer_account_dashboard_path, my server raises “is not missing
constant Account” but ONLY in production mode. I guess the mod_phusion
is mixing something up, because it does not happen with class cache
disabled.
How do you setup routing so that it will always use the same
controller (/controllers/account) for each namespace (customer,
worker, admin) but still uses a routing like “/customer/account”, not
“/account”.
Thank you