File size: 597 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import page from '@automattic/calypso-router';
import { makeLayout, render as clientRender } from 'calypso/controller';
import { socialPath } from 'calypso/lib/jetpack/paths';
import { navigation, siteSelection, sites } from 'calypso/my-sites/controller';
import { connections, redirectIfNotJetpackCloud } from './controller';

export default function () {
	page( socialPath(), siteSelection, redirectIfNotJetpackCloud, sites, makeLayout, clientRender );
	page(
		socialPath( ':site' ),
		siteSelection,
		redirectIfNotJetpackCloud,
		navigation,
		connections,
		makeLayout,
		clientRender
	);
}