return addNavigation(model, "personScmFollowers");
}
@RequestMapping(value = "/{id}/scm/following", method = RequestMethod.GET)
public String getFollowing(@PathVariable Long id, Model model) {
Person person = personRepository.findOne(id);
model.addAttribute(person);
model.addAttribute("entity", person);
String gitHubUser = person.getGitHubUser();
if (gitHubUser != null) {
List<GitHubUser> following = gitHub.userOperations().getFollowing(gitHubUser);
List<List<GitHubUser>> followingRows = ViewUtil.toRows(following, 3);
model.addAttribute("followingList", following);
model.addAttribute("followingRows", followingRows);