Skip to content

Commit 5168c61

Browse files
committed
refactor(): remove sync responses job
1 parent 5386cfd commit 5168c61

File tree

3 files changed

+0
-101
lines changed

3 files changed

+0
-101
lines changed

app/admin/assignments.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
:end_date,
1818
assignment_questions_attributes: [:id, :question_type, :title, :description, :_destroy]
1919

20-
member_action :sync_submitted_responses, method: :post do
21-
SyncSubmittedResponsesForAssignmentJob.perform_now(resource.id)
22-
23-
redirect_to resource_path, notice: "Assignment responses have been synced"
24-
end
25-
26-
action_item :sync_submitted_responses, only: :show do
27-
link_to "Sync Submitted Responses", sync_submitted_responses_admin_assignment_path(assignment), method: :post
28-
end
29-
3020
scope :with_active_semester, default: true
3121
scope :all
3222

app/jobs/sync_submitted_responses_for_assignment_job.rb

Lines changed: 0 additions & 33 deletions
This file was deleted.

spec/jobs/sync_submitted_responses_for_assignment_job_spec.rb

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)