During learning Spring Boot I noticed attributes to methods in Spring Boot controllers can be automatically injected.
To migrate my blog from Grails to Spring Boot I created an implementation to inject the current blog instance based on an session attribute.