From c2c55499352ada6243cf1742b468385b41d0745a Mon Sep 17 00:00:00 2001 From: IrinaZhadzinets Date: Thu, 21 Jul 2022 15:56:43 +0300 Subject: [PATCH] scandipwa/scandipwa#3780 - Use custom path for newsletter subscription via email --- README.md | 1 - src/etc/di.xml | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 0f6f436..c10c1cc 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,5 @@ In order to allow Magento 2 to handle some routes in default manner (only server specific routes to be accessed by adding RegExp to `src/app/etc/di.xml::ignoredURLs` arguments list. So far there are 3 paths whitelisted out of the box: -- `/newsletter/subscriber/confirm` - subscribe to newsletter - `/newsletter/subscriber/unsubscribe` - unsubscribe to newsletter - `/customer/account/confirm/` - confirm e-mail (redirect to homepage in any case, modify according to your needs) \ No newline at end of file diff --git a/src/etc/di.xml b/src/etc/di.xml index 84d87ca..c3a59f7 100644 --- a/src/etc/di.xml +++ b/src/etc/di.xml @@ -32,7 +32,6 @@ - ^/newsletter/subscriber/confirm/.* ^/newsletter/subscriber/unsubscribe/.*