Merge pull request #1684 from mailpoet/routes-fix
Fix routes after React Router upgrade [MAILPOET-1675]
This commit is contained in:
@ -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 */
|
||||||
|
Reference in New Issue
Block a user