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
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.