activeadmin / inherited_resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

namespaced controllers does not mix well

wdiechmann opened this issue · comments

Don't know if I've missed it in the documentation (probably have and then I'm so sorry) - but with this

class PrintersController < InheritedResources::Base
  belongs_to :admin_user, :optional => true
end

class Admin::UsersController < InheritedResources::Base
end

views/printers/index.haml:
  - parent?

If I call up /admin/users/1/printers parent? is false

This issue has been automatically closed because of inactivity.

If you can still reproduce this error on the newest version, please reply with all of the information you have about it in order to keep the issue open.

Thank you.