class Launch::Controller::Static
Defined in:
launch/controller/static.crInstance Method Summary
-
#index
If static resource is not found then raise an exception
Instance methods inherited from class Launch::Controller::Base
client_ip(*args, **options)client_ip(*args, **options, &) client_ip, cookies(*args, **options)
cookies(*args, **options, &) cookies, delete?(*args, **options)
delete?(*args, **options, &) delete?, filters : Filters filters, filters=(filters : Filters) filters=, format(*args, **options)
format(*args, **options, &) format, get?(*args, **options)
get?(*args, **options, &) get?, halt!(*args, **options)
halt!(*args, **options, &) halt!, head?(*args, **options)
head?(*args, **options, &) head?, patch?(*args, **options)
patch?(*args, **options, &) patch?, port(*args, **options)
port(*args, **options, &) port, post?(*args, **options)
post?(*args, **options, &) post?, put?(*args, **options)
put?(*args, **options, &) put?, request(*args, **options)
request(*args, **options, &) request, requested_url(*args, **options)
requested_url(*args, **options, &) requested_url, response(*args, **options)
response(*args, **options, &) response, route(*args, **options)
route(*args, **options, &) route, run_after_filter(action) run_after_filter, run_before_filter(action) run_before_filter, session(*args, **options)
session(*args, **options, &) session, valve(*args, **options)
valve(*args, **options, &) valve, websocket?(*args, **options)
websocket?(*args, **options, &) websocket?
Constructor methods inherited from class Launch::Controller::Base
new(context : HTTP::Server::Context)
new
Instance methods inherited from module Launch::Controller::Helpers::Route
action_name
action_name,
controller_name
controller_name,
controller_name_no_underscore
controller_name_no_underscore,
route_resource
route_resource,
route_scope
route_scope
Instance methods inherited from module Launch::Controller::Helpers::Responders
set_response(body, status_code = 200, content_type = Content::TYPE[:html])
set_response
Instance methods inherited from module Launch::Controller::Helpers::Redirect
redirect_back(**args)
redirect_back,
redirect_to(controller : Symbol | Class, action : Symbol, **args)redirect_to(location : String, **args)
redirect_to(action : Symbol, **args) redirect_to