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
administrate/lib/generators/administrate/dashboard/templates/controller.rb.erb
Line 39 in 062ea9f
the permitted_attributes may need pass current action to support "FORM_ATTRIBUTES_NEW" and "FORM_ATTRIBUTES_EDIT".
otherwise only go through "FORM_ATTRIBUTES" whatever edit or new action.
The text was updated successfully, but these errors were encountered:
Uh, I think you are right. Interestingly, permitted_attributes calls form_attributes, which does accept an action.
permitted_attributes
form_attributes
action
Would you be able to provide a PR?
Sorry, something went wrong.
related #2066
new
create
edit
update
FORM_ATTRIBUTES
Successfully merging a pull request may close this issue.
administrate/lib/generators/administrate/dashboard/templates/controller.rb.erb
Line 39 in 062ea9f
the permitted_attributes may need pass current action to support "FORM_ATTRIBUTES_NEW" and "FORM_ATTRIBUTES_EDIT".
otherwise only go through "FORM_ATTRIBUTES" whatever edit or new action.
The text was updated successfully, but these errors were encountered: