Map accountOverview to / so it acts as landing page
This commit is contained in:
@@ -25,7 +25,7 @@ public class AccountController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private FinancerConfig financerConfig;
|
private FinancerConfig financerConfig;
|
||||||
|
|
||||||
@GetMapping("/accountOverview")
|
@GetMapping({"/", "/accountOverview"})
|
||||||
public String accountOverview(String showClosed, Model model) {
|
public String accountOverview(String showClosed, Model model) {
|
||||||
final ResponseEntity<Iterable<Account>> response = new GetAllAccountsTemplate().exchange(this.financerConfig);
|
final ResponseEntity<Iterable<Account>> response = new GetAllAccountsTemplate().exchange(this.financerConfig);
|
||||||
final ResponseEntity<Iterable<RecurringTransaction>> rtDtRes = new GetAllRecurringTransactionsDueTodayTemplate()
|
final ResponseEntity<Iterable<RecurringTransaction>> rtDtRes = new GetAllRecurringTransactionsDueTodayTemplate()
|
||||||
|
|||||||
Reference in New Issue
Block a user