if(project != null)
projects.add(project);
}</BUG>
model.addAttribute("weaver", weaver);
<BUG>model.addAttribute("projects", projects);
model.addAttribute("search", false);</BUG>
return "/weaver/home";
}
@RequestMapping("/{id}/lecture")
public String lecture(@PathVariable("id") String id, Model model) {

@RequestMapping("/{id}/project")
public String project(@PathVariable("id") String id, Model model) {
Weaver weaver = weaverService.get(id);
if (weaver == null)
return "redirect:/";
model.addAttribute("weaver", weaver);
model.addAttribute("projects", projectService.getProjects(weaver, 1, 15));
model.addAttribute("search", false);
return "/weaver/home";
}
@RequestMapping("/{id}/lecture")
public String lecture(@PathVariable("id") String id, Model model) {
