Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveAdmin::Namespace#resource_for should try base class also #135

Closed
gregbell opened this issue May 31, 2011 · 1 comment
Closed

ActiveAdmin::Namespace#resource_for should try base class also #135

gregbell opened this issue May 31, 2011 · 1 comment
Assignees
Milestone

Comments

@gregbell
Copy link
Contributor

ActiveAdmin::Namespace#resource_for returns the ActiveAdmin::Resource instance for a given object or class. If its a subclass and the parent class is the one registered, it should return the parent class.

@ghost ghost assigned gregbell May 31, 2011
whatthewhat pushed a commit to whatthewhat/active_admin that referenced this issue Aug 13, 2011
…t registered.

Also added a cucumber to test that you can comment on a subclass that is
registered through it's parent.

Closes activeadmin#135
@dwaynemac
Copy link

this is failing in 1.0.0.pre4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants