File size: 620 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import page from '@automattic/calypso-router';
import { makeLayout, render as clientRender } from 'calypso/controller';
import wrapInSiteOffsetProvider from 'calypso/lib/wrap-in-site-offset';
import { navigation, siteSelection, sites } from 'calypso/my-sites/controller';
import { activity, showNotAuthorizedForNonAdmins } from './controller';

export default function () {
	page( '/activity-log', siteSelection, sites, makeLayout, clientRender );

	page(
		'/activity-log/:site',
		siteSelection,
		navigation,
		activity,
		showNotAuthorizedForNonAdmins,
		wrapInSiteOffsetProvider,
		makeLayout,
		clientRender
	);
}