Padrino::Routing::InstanceMethods
Module: Padrino::Routing::InstanceMethods
Overview
Instance methods related to recognizing and processing routes and serving static files.
Instance Method Summary
-
#absolute_url(*args) ⇒ Object
Returns absolute url. -
#content_type(type = nil, params = {}) ⇒ Object
Return the request format, this is useful when we need to respond to a given Content-Type. -
登录查看完整内容