-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Generated admin_user file should be plural #1960
Comments
The standard seems to have changed so that all app/admin files are singular, hence why the Dashboard and AdminUser files are singular if you create a new project. |
I personally prefer the singular form. It's more consistent with Rails naming conventions. |
I got load errors with the singular in a rails app although it was a test app inside a gem, which could have some strange behavior (using But I understand where you're coming from. Our app started with an older version of ActiveAdmin and our models are plural, so I thought that was the standard. |
This is both consistent with the modal generator and prevents load errors.
I was writing a gem and testing against active_admin and got load errors on the admin_user path.
The text was updated successfully, but these errors were encountered: