File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class ClassImportsController < ApplicationController
55
66 before_action :set_draft_import , only : %i[ new create ]
77 before_action :set_class_import ,
8- only : %i[ show update approve cancel re_review imported_records ]
8+ only : %i[ show approve cancel re_review imported_records ]
99 before_action :set_open_sections , only : %i[ show ]
1010 before_action :set_review_records , only : %i[ re_review imported_records ]
1111
@@ -84,12 +84,6 @@ def show
8484 }
8585 end
8686
87- def update
88- @class_import . process!
89-
90- redirect_to class_import_path ( @class_import )
91- end
92-
9387 def re_review
9488 render template : "imports/re_review" ,
9589 layout : "full" ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ class CohortImportsController < ApplicationController
55
66 before_action :set_draft_import , only : %i[ new create ]
77 before_action :set_cohort_import ,
8- only : %i[ show update approve cancel re_review imported_records ]
8+ only : %i[ show approve cancel re_review imported_records ]
99 before_action :set_open_sections , only : %i[ show ]
1010 before_action :set_review_records , only : %i[ re_review imported_records ]
1111
@@ -89,12 +89,6 @@ def show
8989 }
9090 end
9191
92- def update
93- @cohort_import . process!
94-
95- redirect_to cohort_import_path ( @cohort_import )
96- end
97-
9892 def re_review
9993 render template : "imports/re_review" ,
10094 layout : "full" ,
Original file line number Diff line number Diff line change 33class ImmunisationImportsController < ApplicationController
44 include Pagy ::Backend
55
6- before_action :set_immunisation_import , only : %i[ show update ]
6+ before_action :set_immunisation_import , only : %i[ show ]
77
88 skip_after_action :verify_policy_scoped , only : %i[ new create ]
99
@@ -56,12 +56,6 @@ def show
5656 }
5757 end
5858
59- def update
60- @immunisation_import . process!
61-
62- redirect_to immunisation_import_path ( @immunisation_import )
63- end
64-
6559 private
6660
6761 def type
You can’t perform that action at this time.
0 commit comments