abstract class Scaffold::Controller

Included Modules

Defined in:

scaffold.cr

Instance Method Summary

Instance Method Detail

def redirect(to url : String | URI, status : HTTP::Status = :found) : Nil #

[View source]
def transform(res : Response, value : String) : Nil #

[View source]
def transform(res : Response, value : Response) : Nil #

[View source]
def transform(res : Response, value : Nil) : Nil #

[View source]
def transform(res : Response, value : Redirect) : Nil #

[View source]
def transform(res : Response, value : Exception) : Nil #

[View source]
def transform(res : Response, value : T) : NoReturn forall T #

[View source]