Skip to content

Commit

Permalink
Merge pull request #9 from chonla/main
Browse files Browse the repository at this point in the history
fix: Save form
  • Loading branch information
chonla authored Oct 21, 2024
2 parents f976999 + 13b5558 commit f6585d6
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 f6585d6

Please sign in to comment.