From dd73af8e7a78c963c93bf706e7c8c31785a6dd0c Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 3 Apr 2021 18:52:05 +0100 Subject: [PATCH] Remove duplicate checkout controller --- app/controllers/spree/checkout_controller.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 app/controllers/spree/checkout_controller.rb diff --git a/app/controllers/spree/checkout_controller.rb b/app/controllers/spree/checkout_controller.rb deleted file mode 100644 index e639505e29..0000000000 --- a/app/controllers/spree/checkout_controller.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -# This controller (and respective route in the Spree engine) -# is only needed for the spree_paypal_express gem that redirects here explicitly. -# -# According to the rails docs it would be possible to redirect -# to CheckoutController directly in the routes -# with a slash like "to: '/checkout#edit'", but it does not work in this case. -module Spree - class CheckoutController < ::BaseController - def edit - flash.keep - redirect_to main_app.checkout_path - end - end -end