Resolve "Создание и вывод таблицы с автором и датой" #36

Merged
BarminaA merged 1 commits from 10-create-author-table into master 2021-03-25 16:20:30 +04:00
Showing only changes of commit 4d74000c96 - Show all commits

View File

@ -46,12 +46,6 @@ public class GitExtractorController {
return "newRepo"; return "newRepo";
} }
// @GetMapping("/filtering")
// public String filter(Model model) {
// model.addAttribute("filterForm", new FilterForm());
// return "filtering";
// }
@PostMapping("/sendFilter") @PostMapping("/sendFilter")
public String sendFilter(@ModelAttribute FilterForm filterForm, Model model) throws GitAPIException, IOException { public String sendFilter(@ModelAttribute FilterForm filterForm, Model model) throws GitAPIException, IOException {
List<Commit> list = gitRepositoryService.getCommits(filterForm.getUrl()); List<Commit> list = gitRepositoryService.getCommits(filterForm.getUrl());