pebble-example-spring
pebble-example-spring copied to clipboard
accessing request/session data in spring boot 2
I've set the pebble.exposeRequestAttributes (and session setting) to equal true but not getting anything from {{ request.contextPath }} in my base template.
Using Spring Boot 2 with Session and Security configured. I'd like to switch on whether or not a user is logged in and also display logged in user info. All of the ThemeLeaf examples on the web don't seem to work either so I'm probably missing something but not sure what.