We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I suppose it is because active_admin itself uses a Comment model but I am unable to create an admin view for Comment.
Using the following code:
ActiveAdmin.register Comment do end
Produces the following error:
ActiveAdmin::ResourceMismatchError Tried to register Comment as Comment but already registered to Comment
The text was updated successfully, but these errors were encountered:
I'm having the same issue
Sorry, something went wrong.
For what it's worth, I found a workaround which is to use the :as => option to rename the comment:
ActiveAdmin.register Comment, :as => "BlogComment" do end
Since the Comment model is super common, maybe it would be good to use ActiveAdminComment instead.
Closing this ticket and added a new feature for 0.4.0 #301
No branches or pull requests
I suppose it is because active_admin itself uses a Comment model but I am unable to create an admin view for Comment.
Using the following code:
Produces the following error:
The text was updated successfully, but these errors were encountered: