Skip to content

Commit 558e53c

Browse files
committed
Remove unused cohort list code
This removes some unused code from the CohortListsController.
1 parent 52b6bfb commit 558e53c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/controllers/cohort_lists_controller.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ def create
2929

3030
@cohort_import.record!
3131

32-
session[:last_cohort_upload_count] = @cohort_import.rows.count
33-
3432
redirect_to action: :success
3533
end
3634

3735
def success
38-
@count = session.delete(:last_cohort_upload_count)
3936
end
4037

4138
private

0 commit comments

Comments
 (0)