Ignore:
Timestamp:
01/18/23 16:35:02 (22 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
241ffc2
Parents:
4fd6e1a
Message:

Fixed redirect

File:
1 edited

Legend:

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

    r4fd6e1a rd5913de  
    7575            wh.setEmployed_from(LocalDate.now());
    7676            warehousemanRepository.save(wh);
     77            try {
     78                response.sendRedirect("/viewUsers");
     79            } catch (IOException e) {
     80                throw new RuntimeException(e);
     81            }
    7782
    7883        }
Note: See TracChangeset for help on using the changeset viewer.