Skip to content

Commit

Permalink
Hash should be passed to form
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 16, 2024
1 parent 33d1e63 commit e2b2074
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def index; end

def new
provider_partnership = provider.accredited_partnerships.build
@provider_partnership_form = ProviderPartnershipForm.new(current_user, provider_partnership, params: params[:accredited_provider_id])
@provider_partnership_form = ProviderPartnershipForm.new(current_user, provider_partnership, params: { accredited_provider_id: params[:accredited_provider_id] })
end

def edit
Expand Down

0 comments on commit e2b2074

Please sign in to comment.