Skip to content

struct Athena::Framework::Listeners::View
inherits Struct #

Listens on the ATH::Events::View event to convert a non ATH::Response into an ATH::Response. Allows creating format agnostic controllers by allowing them to return format agnostic data that is later used to render the content in the expected format.

See the Getting Started docs for more information.



#on_view(event : ATH::Events::View) : Nil#

View source