class Amber::Controller::Error
- Amber::Controller::Error
- Amber::Controller::Base
- Reference
- Object
Included Modules
Defined in:
amber/controller/error.crConstructors
Instance methods inherited from module Amber::Controller::Error::Helpers
  
  
    
      bad_request
    bad_request, 
    
  
    
      forbidden
    forbidden, 
    
  
    
      internal_server_error
    internal_server_error, 
    
  
    
      not_found
    not_found
    
  
    
    
  
    
  Instance methods inherited from class Amber::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=, flash(*args, **options)
flash(*args, **options, &) flash, 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 Amber::Controller::Base
  
  
    
      new(context : HTTP::Server::Context)
    new
    
  
    
  
    
    
    
  
    
    
    
  
    
  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