Marten::Handlers::Template
Inherits Marten::Handlers::Rendering < Marten::Handlers::Base < Marten::Handlers::XFrameOptions < Marten::Handlers::XContentTypeOptions < Marten::Handlers::CrossOriginOpenerPolicy < Marten::Handlers::ContentSecurityPolicy < Marten::Handlers::Session < Marten::Handlers::RequestForgeryProtection < Marten::Handlers::Flash < Marten::Handlers::Cookies < Marten::Handlers::ExceptionHandling < Marten::Handlers::Callbacks < Marten::Core::DebugModeLoggable < Reference < Object
Handler allowing to respond to GET requests with the content of a rendered HTML template.
Class methods
Returns the configured content type.
Returns the configured template name.
Instance methods
Handles a GET HTTP request and returns a Marten::HTTP::Response object.
The default implementation will return a 405 (not allowed) response.