module Marten::Handlers::Rendering::ClassMethods
Defined in:
marten/handlers/concerns/rendering.crInstance Method Summary
-
#content_type(content_type : String | Nil)
Allows to configure the content type of the response.
-
#template_name(template_name : String | Nil)
Allows to configure the template that should be rendered by the handler.
Instance Method Detail
def content_type(content_type : String | Nil)
#
Allows to configure the content type of the response.
def template_name(template_name : String | Nil)
#
Allows to configure the template that should be rendered by the handler.