Changeset 3c7bf5b for Prototype Application/Paw5/src/main/java/finki/paw5/web/controllers/PostController.java
- Timestamp:
- 02/16/23 15:21:12 (17 months ago)
- Branches:
- main
- Children:
- eac569a
- Parents:
- 9a180fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/web/controllers/PostController.java
r9a180fd r3c7bf5b 88 88 request.getSession().setAttribute("pet", pet);//temp 89 89 90 if(pet.getAdoptionId() != null){ 91 request.getSession().setAttribute("disableAdoption", true); 92 } else{ 93 request.getSession().setAttribute("disableAdoption", false); 94 } 95 90 96 return "pet-details"; 91 97 }
Note:
See TracChangeset
for help on using the changeset viewer.