In rails 3.1.1, I have admin_root_path set in my routes.rb as:
namespace :admin do
root :to => "base#index"
resources :users
end
Which routes to the index action on the admin/base_controller. But for reasons beyond my control, I have to downgrade my rails 3 app to v2.3.14. I've tried:
map.namespace :admin do |admin|
admin.resources :users, :controller => "base", :action => "index"
end
with no luck. I know it's weird to ask a "make my new code old" question, but what the heck. I guess that's why I'm not the boss??
Thanks, Chris