Changeset ad4243e in Git for src/main/java/com/wediscussmovies/project/web/controller/PersonController.java
- Timestamp:
- 02/07/22 21:26:03 (3 years ago)
- Branches:
- main
- Children:
- 0226942
- Parents:
- 7f36551 (diff), 3c0f9a9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mato-77 <56981531+Mato-77@…> (02/07/22 21:26:03)
- git-committer:
- GitHub <noreply@…> (02/07/22 21:26:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/web/controller/PersonController.java
r7f36551 rad4243e 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.