Changeset 3c0f9a9 in Git for src/main/java/com/wediscussmovies/project/web/controller/PersonController.java
- Timestamp:
- 02/07/22 19:57:58 (3 years ago)
- Branches:
- main
- Children:
- ad4243e, c02189f
- Parents:
- 7f36551
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/web/controller/PersonController.java
r7f36551 r3c0f9a9 1 1 package com.wediscussmovies.project.web.controller; 2 2 3 import com.wediscussmovies.project.LoggedUser; 3 4 import com.wediscussmovies.project.model.Person; 5 import com.wediscussmovies.project.model.User; 4 6 import com.wediscussmovies.project.service.MovieService; 5 7 import com.wediscussmovies.project.service.PersonService; … … 135 137 } 136 138 139 private void addModelPropertiesForUser(Model model){ 140 User user = LoggedUser.getLoggedUser(); 141 model.addAttribute("user",user); 142 } 143 137 144 138 145 }
Note:
See TracChangeset
for help on using the changeset viewer.