Closed ellmetha closed 8 months ago
It would be interesting to provide a new callback allowing to execute code right before a template is rendered when generating an HTTP response in a handler. Such callbacks should be executed in the following situations:
#render
Marten::Handlers::Rendering
Such callbacks could be used to insert additional data in a template context for example.
Description
It would be interesting to provide a new callback allowing to execute code right before a template is rendered when generating an HTTP response in a handler. Such callbacks should be executed in the following situations:
#render
method is called.Marten::Handlers::Rendering
concern module.Such callbacks could be used to insert additional data in a template context for example.