Merge pull request #1684 from mailpoet/routes-fix

Fix routes after React Router upgrade [MAILPOET-1675]
This commit is contained in:
M. Shull
2018-12-11 12:10:50 -05:00
committed by GitHub

View File

@ -47,19 +47,19 @@ if (container) {
let routes = [ let routes = [
/* Listings */ /* Listings */
{ {
path: '/standard(/)**', path: '/standard/(.*)?',
component: NewsletterListStandard, component: NewsletterListStandard,
}, },
{ {
path: '/welcome(/)**', path: '/welcome/(.*)?',
component: NewsletterListWelcome, component: NewsletterListWelcome,
}, },
{ {
path: '/notification/history/:parent_id(/)**', path: '/notification/history/:parent_id/(.*)?',
component: NewsletterListNotificationHistory, component: NewsletterListNotificationHistory,
}, },
{ {
path: '/notification(/)**', path: '/notification/(.*)?',
component: NewsletterListNotification, component: NewsletterListNotification,
}, },
/* New newsletter: types */ /* New newsletter: types */