Skip to content

Commit

Permalink
fix: Save form
Browse files Browse the repository at this point in the history
  • Loading branch information
chonla committed Oct 21, 2024
1 parent ae66e00 commit 13b5558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdmm/app/controllers/cdmm_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def show()

def save()
form_key = params[:form_key]
if form_key == ""
unless params[:form_key] or params[:form_key].present?
form_key = generate_unique_form_key
ev = Evaluation.new(evaluation_params.merge(form_key: form_key))
else
Expand Down

0 comments on commit 13b5558

Please sign in to comment.