Skip to content

Commit 355e390

Browse files
committed
Controller added
1 parent 08b523c commit 355e390

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bioMedical/src/main/java/com/spring/bioMedical/Controller/DoctorController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public String index(Model model){
7272
List<Appointment> list=appointmentServiceImplementation.findAll();
7373

7474

75+
model.addAttribute("user",admin.getFirstName()+" "+admin.getLastName());
7576

7677
// add to the spring model
7778
model.addAttribute("app", list);

0 commit comments

Comments
 (0)