From 105fe2546528cf96f37d2a0ea3ceb5d179b957d3 Mon Sep 17 00:00:00 2001 From: Cristina <579522+CristinaRO@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:52:04 +0000 Subject: [PATCH] Remove unused controller This controller hasn't been in use since https://github.com/UKGovernmentBEIS/beis-report-official-development-assistance/pull/515 --- app/controllers/programmes_controller.rb | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 app/controllers/programmes_controller.rb diff --git a/app/controllers/programmes_controller.rb b/app/controllers/programmes_controller.rb deleted file mode 100644 index a81a6950e..000000000 --- a/app/controllers/programmes_controller.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -class ProgrammesController < ActivitiesController - def create - @programme = CreateProgrammeActivity.new(organisation_id: organisation_id, fund_id: fund_id).call - authorize @programme - - redirect_to activity_step_path(@programme.id, @programme.form_state) - end -end