Skip to content

Commit

Permalink
fix for array params.expect
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde committed Jan 23, 2025
1 parent f3b1d32 commit 149fde5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def role_options
helper_method :role_options

def onboarding_user_params
params.expect(organization_onboarding: [invites_attributes: %i[id role]])
params.expect(organization_onboarding: [invites_attributes: [%i[id role]]])
end
end

0 comments on commit 149fde5

Please sign in to comment.