Map accountOverview to / so it acts as landing page

This commit is contained in:
2019-05-09 21:21:15 +02:00
parent 03b09859a2
commit 2e7a809dd4

View File

@@ -25,7 +25,7 @@ public class AccountController {
@Autowired
private FinancerConfig financerConfig;
@GetMapping("/accountOverview")
@GetMapping({"/", "/accountOverview"})
public String accountOverview(String showClosed, Model model) {
final ResponseEntity<Iterable<Account>> response = new GetAllAccountsTemplate().exchange(this.financerConfig);
final ResponseEntity<Iterable<RecurringTransaction>> rtDtRes = new GetAllRecurringTransactionsDueTodayTemplate()