From fc6fba4fe905eb8a573c5e25f9183c82383511ea Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Thu, 25 Nov 2021 12:00:27 +0100 Subject: [PATCH] Move into specific folder --- app/views/split_checkout/_payment.html.haml | 2 +- app/views/split_checkout/{ => payment}/_gateway.html.haml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app/views/split_checkout/{ => payment}/_gateway.html.haml (100%) diff --git a/app/views/split_checkout/_payment.html.haml b/app/views/split_checkout/_payment.html.haml index 3bc2767e06..0c4cf666d8 100644 --- a/app/views/split_checkout/_payment.html.haml +++ b/app/views/split_checkout/_payment.html.haml @@ -23,7 +23,7 @@ #{payment_method.description} .paymentmethod-form - if payment_method.method_type == "gateway" - = render partial: "split_checkout/#{payment_method.method_type}", locals: { payment_method: payment_method, f: f } + = render partial: "split_checkout/payment/#{payment_method.method_type}", locals: { payment_method: payment_method, f: f } - else = render partial: "spree/checkout/payment/#{payment_method.method_type}", :locals => { payment_method: payment_method } diff --git a/app/views/split_checkout/_gateway.html.haml b/app/views/split_checkout/payment/_gateway.html.haml similarity index 100% rename from app/views/split_checkout/_gateway.html.haml rename to app/views/split_checkout/payment/_gateway.html.haml