Ignore:
Timestamp:
01/03/23 23:03:00 (18 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
6832924
Parents:
feffc2f
Message:

Added master template and added filtering parts by car and category

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/controller/PartController.java

    rfeffc2f r60de3eb  
    2929        model.addAttribute("part",temp);
    3030        model.addAttribute("amount",amount);
    31         return "partinfo";
     31        model.addAttribute("bodyContent","partinfo");
     32        return "master-template";
    3233    }
    3334    @GetMapping("/delivery/{id}")
     
    3536        model.addAttribute("repairShops",repairShopService.findAll());
    3637        model.addAttribute("partId",id);
    37         return "deliveryForPart";
     38        model.addAttribute("bodyContent","deliveryForPart");
     39        return "master-template";
    3840    }
    3941    @PostMapping("/repairshopdelivery")
Note: See TracChangeset for help on using the changeset viewer.