Can't find the mistake.
You need to swap the placement of post_params and create. def post_params...end should come after the private keyword, and def create...end should be placed before
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.