Package se.bth.pulse.controller
Class FileUserAdminController
java.lang.Object
se.bth.pulse.controller.FileUserAdminController
This class is a view controller that serves the file page.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileUserAdminController
public FileUserAdminController()
-
-
Method Details
-
file
@GetMapping("/admin/users/file") public String file(org.springframework.ui.Model model, org.springframework.security.core.Authentication authentication) This method is used to render the file page. The return string is the name of the view to be rendered.- Parameters:
model
- - used to pass attributes to the viewauthentication
- - used to get the username and role of the logged-in user- Returns:
- String - the view to be rendered
-