scalatra/scalatra-book — Issue #15: Document passing values from a controller to templateEngine
Author: timgilbert
Created: 2011-12-03 01:17:51+00:00
State: open

It took me a while to dig up information about what the proper method was to pass data from my controller into the template itself (to wit, that there is a separate `Map` parameter to `templateEngine.layout()`, which is the only method covered in the docs).

FWIW, [this code](https://github.com/agaoglu/ra-scalatra/blob/inmem/src/main/scala/ResultAnnouncer.scala) is what eventually pointed me in the right direction.