Move statistics page route from premium to free

[MAILPOET-2104]
This commit is contained in:
Ján Mikláš
2019-06-25 09:54:28 +02:00
committed by M. Shull
parent b33f31ebba
commit 50d9ff7686

View File

@@ -20,6 +20,7 @@ import NewsletterListWelcome from 'newsletters/listings/welcome.jsx';
import NewsletterListNotification from 'newsletters/listings/notification.jsx';
import NewsletterListNotificationHistory from 'newsletters/listings/notification_history.jsx';
import NewsletterSendingStatus from 'newsletters/sending_status.jsx';
import CampaignStatsPage from 'newsletters/campaign_stats/page.jsx';
class App extends React.Component {
render() {
@@ -103,6 +104,10 @@ if (container) {
path: '/sending-status/:id/(.*)?',
component: NewsletterSendingStatus,
},
{
path: '/stats/:id/(.*)?',
component: CampaignStatsPage,
},
];
routes = Hooks.applyFilters('mailpoet_newsletters_before_router', [...routes, ...getAutomaticEmailsRoutes()]);