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 = [
/* Listings */
{
path: '/standard(/)**',
path: '/standard/(.*)?',
component: NewsletterListStandard,
},
{
path: '/welcome(/)**',
path: '/welcome/(.*)?',
component: NewsletterListWelcome,
},
{
path: '/notification/history/:parent_id(/)**',
path: '/notification/history/:parent_id/(.*)?',
component: NewsletterListNotificationHistory,
},
{
path: '/notification(/)**',
path: '/notification/(.*)?',
component: NewsletterListNotification,
},
/* New newsletter: types */