Ignore:
Timestamp:
02/13/23 13:49:11 (21 months ago)
Author:
SazdovaEkaterina <sazdovaekaterina@…>
Branches:
main
Children:
04e4f54
Parents:
325a55d
Message:

redirect to home

+added comment for todo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Prototype Application/Paw5/src/main/java/finki/paw5/web/controllers/PostController.java

    r325a55d rc37c953  
    4949        this.petService.save(pet);
    5050
    51         Post post = new Post(LocalDate.now(), imageUrl, pet.getId(), null, 10);
     51        Post post = new Post(LocalDate.now(), imageUrl, pet.getId(), null, 10);//TODO: employee id da se zeme preku session user getid
    5252        this.postService.save(post);
    5353
    54         return null;
     54        return "redirect:/home";
    5555    }
    5656}
Note: See TracChangeset for help on using the changeset viewer.