class Amber::Controller::Base
- Amber::Controller::Base
- Reference
- Object
Included Modules
- Amber::Controller::Callbacks
- Amber::Controller::Helpers::CSRF
- Amber::Controller::Helpers::I18n
- Amber::Controller::Helpers::Redirect
- Amber::Controller::Helpers::Render
- Amber::Controller::Helpers::Responders
- Amber::Controller::Helpers::Route
- Amber::DSL::Callbacks
Direct Known Subclasses
Defined in:
amber/controller/base.crConstructors
Instance Method Summary
- #client_ip(*args, **options)
- #client_ip(*args, **options, &)
- #cookies(*args, **options)
- #cookies(*args, **options, &)
- #delete?(*args, **options)
- #delete?(*args, **options, &)
- #filters : Filters
- #filters=(filters : Filters)
- #flash(*args, **options)
- #flash(*args, **options, &)
- #format(*args, **options)
- #format(*args, **options, &)
- #get?(*args, **options)
- #get?(*args, **options, &)
- #halt!(*args, **options)
- #halt!(*args, **options, &)
- #head?(*args, **options)
- #head?(*args, **options, &)
- #patch?(*args, **options)
- #patch?(*args, **options, &)
- #port(*args, **options)
- #port(*args, **options, &)
- #post?(*args, **options)
- #post?(*args, **options, &)
- #put?(*args, **options)
- #put?(*args, **options, &)
- #request(*args, **options)
- #request(*args, **options, &)
- #requested_url(*args, **options)
- #requested_url(*args, **options, &)
- #response(*args, **options)
- #response(*args, **options, &)
- #route(*args, **options)
- #route(*args, **options, &)
- #run_after_filter(action)
-
#run_before_filter(action)
TODO Find a way to make these protected again.
- #session(*args, **options)
- #session(*args, **options, &)
- #valve(*args, **options)
- #valve(*args, **options, &)
- #websocket?(*args, **options)
- #websocket?(*args, **options, &)
Instance methods inherited from module Amber::Controller::Helpers::I18n
l(*arg)
l,
t(*arg)
t
Instance methods inherited from module Amber::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 Amber::Controller::Helpers::Responders
set_response(body, status_code = 200, content_type = Content::TYPE[:html])
set_response
Instance methods inherited from module Amber::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