module

Marten::Handlers::Rendering::ClassMethods

Instance methods

content_type(content_type : String | Nil)

Allows to configure the content type of the response.

Source
template_name(template_name : String | Nil)

Allows to configure the template that should be rendered by the handler.

Source