Class: Jets::RackController

Inherits:
BareController show all
Defined in:
lib/jets/internal/app/controllers/jets/rack_controller.rb

Constant Summary

Constants included from Jets::Router::Helpers::CoreHelper

Jets::Router::Helpers::CoreHelper::CONTROLLER_DELEGATES

Instance Attribute Summary

Attributes inherited from Controller::Base

#request, #response, #session

Attributes inherited from Lambda::Functions

#context, #event, #meth

Instance Method Summary collapse

Methods inherited from Controller::Base

#action_name, #controller_name, #controller_paths, #dispatch!, #event_log, helper_method, #initialize, internal, #json_dump, #log_finish, #log_start, process, #process!

Methods included from Controller::Rendering

#actual_host, #add_stage_name, #adjust_content_type!, #default_layout, #ensure_render, #managed_options, #normalize_options, #render, #url_for

Methods included from Controller::Redirection

#ensure_protocol, #redirect_back, #redirect_to

Methods included from Controller::Params

#body_params, #filtered_parameters, #params, #path_params, #query_params, #request_params, #unescape_recursively

Methods included from Jets::Router::Helpers::NamedRoutesHelper

clear!

Methods included from Jets::Router::Helpers::CoreHelper

#polymorphic_path

Methods included from Controller::ForgeryProtection

#verify_authenticity_token

Methods included from Controller::Cookies

#cookies

Methods inherited from Lambda::Functions

inherited, #initialize, output_keys, subclasses

Methods included from Lambda::Dsl

#lambda_functions

Constructor Details

This class inherits a constructor from Jets::Controller::Base

Instance Method Details

#processObject

Megamode



3
4
5
6
# File 'lib/jets/internal/app/controllers/jets/rack_controller.rb', line 3

def process
  resp = mega_request
  render(resp)
end