Resolve "Создание и вывод таблицы с автором и датой" #36
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user