# HG changeset patch # User Nattee Niparnan # Date 2018-08-07 16:43:34 # Node ID dd100c4f33f70244296edb3951fedac70baa86ae # Parent 63d47ef59bac683d910a3622920bd28e9e297fae fix change date not working in problem bulk manage diff --git a/app/controllers/problems_controller.rb b/app/controllers/problems_controller.rb --- a/app/controllers/problems_controller.rb +++ b/app/controllers/problems_controller.rb @@ -304,7 +304,7 @@ private def problem_params - params.require(:problem).permit(:name, :full_name, :full_score, :date_added, :available, :test_allowed,:output_only, :url, :description, tag_ids:[]) + params.require(:problem).permit(:name, :full_name, :full_score, :change_date_added, :date_added, :available, :test_allowed,:output_only, :url, :description, tag_ids:[]) end end