Ignore:
Timestamp:
03/13/23 00:58:07 (20 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
9050790
Parents:
2b0a4db
Message:

Add admin page initial work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/controllers/HomePageController.java

    r2b0a4db r46fd0c7  
    1111public class HomePageController {
    1212
    13     @GetMapping(name = "/homepage")
     13    @GetMapping(path = "/homepage")
    1414    public String getHomePageTemplate(Model model, Principal principal) {
    1515        System.out.println(principal);
     
    1717    }
    1818
    19     @PostMapping(name = "/homepage")
     19    @PostMapping(path = "/homepage")
    2020    public String postHomePageTemplate(Model model) {
    2121        return "homepage";
Note: See TracChangeset for help on using the changeset viewer.