@IsAllowed(value = Operation.READ, resourceType = ResourceType.BOARD_POST)
@With(NullProjectCheckAction.class)
public static Result newComment(String owner, String projectName, Long number) throws IOException {
Project project = Project.findByOwnerAndProjectName(owner, projectName);
final Posting posting = Posting.findByNumber(project, number);
Call redirectTo = routes.BoardApp.post(project.owner, project.name, number);
Form<PostingComment> commentForm = new Form<>(PostingComment.class)
.bindFromRequest();
if (commentForm.hasErrors()) {
return badRequest(ErrorViews.BadRequest.render("error.validation", project, MenuType.BOARD));