diff options
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/cohorts_controller.rb | 11 | ||||
-rw-r--r-- | app/controllers/admin/conversational_development_index_controller.rb | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/app/controllers/admin/cohorts_controller.rb b/app/controllers/admin/cohorts_controller.rb deleted file mode 100644 index 10d9d1b5345..00000000000 --- a/app/controllers/admin/cohorts_controller.rb +++ /dev/null @@ -1,11 +0,0 @@ -class Admin::CohortsController < Admin::ApplicationController - def index - if Gitlab::CurrentSettings.usage_ping_enabled - cohorts_results = Rails.cache.fetch('cohorts', expires_in: 1.day) do - CohortsService.new.execute - end - - @cohorts = CohortsSerializer.new.represent(cohorts_results) - end - end -end diff --git a/app/controllers/admin/conversational_development_index_controller.rb b/app/controllers/admin/conversational_development_index_controller.rb deleted file mode 100644 index 921169d3e2b..00000000000 --- a/app/controllers/admin/conversational_development_index_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ -class Admin::ConversationalDevelopmentIndexController < Admin::ApplicationController - def show - @metric = ConversationalDevelopmentIndex::Metric.order(:created_at).last&.present - end -end |