@ControllerAdvice public class ModelAttributes extends Object
ControllerAdvice that defines common model attributes for all
view controllers.| Modifier and Type | Field and Description |
|---|---|
static String |
MODEL_LOGGED_IN_USER |
| Constructor and Description |
|---|
ModelAttributes() |
public static final String MODEL_LOGGED_IN_USER
@ModelAttribute(value="loggedInUser") public Profile getLoggedInUser()
Copyright © 2016 CrafterCMS. All Rights Reserved.