Skip to content

Commit db0d170

Browse files
committed
Rename cohort_{list => import}
1 parent e6dcbf7 commit db0d170

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

app/controllers/cohort_lists_controller.rb renamed to app/controllers/cohort_imports_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class CohortListsController < ApplicationController
3+
class CohortImportsController < ApplicationController
44
skip_after_action :verify_policy_scoped, only: %i[new create success]
55

66
before_action :set_team, only: %i[new create]
File renamed without changes.
File renamed without changes.
File renamed without changes.

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
action: "update_date_and_time"
9191
end
9292

93-
resource :cohort_list, as: :cohort, only: %i[new create] do
93+
resource :cohort_import, as: :cohort, only: %i[new create] do
9494
get "success", on: :collection
9595
end
9696
end

0 commit comments

Comments
 (0)