pebble-example-spring icon indicating copy to clipboard operation
pebble-example-spring copied to clipboard

accessing request/session data in spring boot 2

Open agrothe opened this issue 6 years ago • 0 comments

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.

agrothe avatar Mar 17 '19 01:03 agrothe