Skip to content

Commit

Permalink
Update assignments_controller.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
saisanthoshG committed Apr 18, 2024
1 parent 4752d90 commit f5db98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/assignments_controller.rb
Expand Up @@ -385,7 +385,7 @@ def edit_params_setting
@num_submissions_round = @assignment.find_due_dates('submission').nil? ? 0 : @assignment.find_due_dates('submission').count
@num_reviews_round = @assignment.find_due_dates('review').nil? ? 0 : @assignment.find_due_dates('review').count

@topics = SignUpTopic.where(assignment_id: params[:id])
@topics = SignUpTopic.where(assignment_id: params[:id].to_i)
@assignment_form = AssignmentForm.create_form_object(params[:id])
@user = current_user

Expand Down

0 comments on commit f5db98e

Please sign in to comment.