- Timestamp:
- 02/18/24 22:01:54 (9 months ago)
- Branches:
- master
- Children:
- 4251327
- Parents:
- bde8b13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/mk/ukim/finki/busngo/web/KaznaController.java
rbde8b13 re272096 9 9 import org.springframework.ui.Model; 10 10 import org.springframework.web.bind.annotation.GetMapping; 11 import org.springframework.web.bind.annotation.PathVariable; 12 import org.springframework.web.bind.annotation.PostMapping; 11 13 import org.springframework.web.bind.annotation.RequestMapping; 12 14 … … 37 39 return "master-template"; 38 40 } 41 42 @PostMapping("/{id}/pay") 43 public String pay(@PathVariable Long id, 44 Model model){ 45 kaznaZaRegistriranService.pay(id); 46 return "redirect:/kazna"; 47 } 48 39 49 }
Note:
See TracChangeset
for help on using the changeset viewer.