gregbell/active_admin — Issue #738: active_admin_namespace always returns default namespace in dashboard
Author: be9
Created: 2011-11-11 04:09:52+00:00
State: open

I'm adding a second namespace to my activeadmin as described here: https://groups.google.com/group/activeadmin/browse_thread/thread/799ab4350c848162

And I basically ran into the same problem. active_admin_namespace in my class which is derived from `ActiveAdmin::Views::HeaderRenderer` always returns the default namespace when in dashboard. `active_admin_config` happens to be nil then, as well as `controller.send(:active_admin_config).`

In other controllers it works fine, returning proper current namespace.