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

Fix params. eg. params[:blog_post] => params[:post] #473

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

seadfeng
Copy link

Rails Engine Model

ActiveAdmin.register Fastlist::Grouping, as: "Grouping" do
end

Form post Parameters will be like: { "fastlist_grouping"=>{ } , "grouping"=>{ } }

WeChatcfe9d3877ae234fe8037c7c7613de3e7

Fixed params
When ActiveAdmin.register Blog::Post, the params will be 
 params[:blog_post], it need to change to params[:post]
@seadfeng seadfeng marked this pull request as draft June 24, 2023 10:14
@seadfeng seadfeng marked this pull request as ready for review June 24, 2023 10:15
@seadfeng seadfeng marked this pull request as draft June 24, 2023 10:17
@seadfeng seadfeng marked this pull request as ready for review June 25, 2023 06:50
@seadfeng seadfeng changed the title Fixed params. eg. params[:blog_post] => params[:post] Fix params. eg. params[:blog_post] => params[:post] Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant