高章伟
2022-03-10 823b027c0decb82043c6e39f2d6ef1bb020220b1
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * An apex page controller that takes the user to the right start page based on credentials or lack thereof
 */
public with sharing class CommunitiesLandingController {
    
    // Code we will invoke on page load.
    public PageReference forwardToStartPage() {
        return Network.communitiesLanding();
    }
    
    public CommunitiesLandingController() {}
}