Module: ActionController

Extended by:
ActiveSupport::Autoload
Defined in:
lib/action_controller/metal/flash.rb,
lib/action_controller.rb,
lib/action_controller/base.rb,
lib/action_controller/metal.rb,
lib/action_controller/caching.rb,
lib/action_controller/railtie.rb,
lib/action_controller/test_case.rb,
lib/action_controller/metal/head.rb,
lib/action_controller/metal/live.rb,
lib/action_controller/middleware.rb,
lib/action_controller/metal/rescue.rb,
lib/action_controller/model_naming.rb,
lib/action_controller/metal/cookies.rb,
lib/action_controller/metal/helpers.rb,
lib/action_controller/metal/testing.rb,
lib/action_controller/metal/url_for.rb,
lib/action_controller/log_subscriber.rb,
lib/action_controller/metal/force_ssl.rb,
lib/action_controller/metal/renderers.rb,
lib/action_controller/metal/rendering.rb,
lib/action_controller/metal/streaming.rb,
lib/action_controller/metal/exceptions.rb,
lib/action_controller/railties/helpers.rb,
lib/action_controller/caching/fragments.rb,
lib/action_controller/metal/redirecting.rb,
lib/action_controller/metal/hide_actions.rb,
lib/action_controller/metal/mime_responds.rb,
lib/action_controller/metal/data_streaming.rb,
lib/action_controller/metal/params_wrapper.rb,
lib/action_controller/metal/conditional_get.rb,
lib/action_controller/metal/implicit_render.rb,
lib/action_controller/metal/instrumentation.rb,
lib/action_controller/metal/rack_delegation.rb,
lib/action_controller/metal/strong_parameters.rb,
lib/action_controller/metal/http_authentication.rb,
lib/action_controller/metal/etag_with_template_digest.rb,
lib/action_controller/metal/request_forgery_protection.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Caching, ConditionalGet, Cookies, DataStreaming, EtagWithTemplateDigest, Flash, ForceSSL, Head, Helpers, HideActions, HttpAuthentication, ImplicitRender, Instrumentation, Live, MimeResponds, ModelNaming, ParamsWrapper, RackDelegation, Railties, Redirecting, Renderers, Rendering, RequestForgeryProtection, Rescue, Streaming, StrongParameters, TemplateAssertions, Testing, UrlFor Classes: ActionControllerError, BadRequest, Base, InvalidAuthenticityToken, InvalidCrossOriginRequest, LiveTestResponse, LogSubscriber, Metal, MethodNotAllowed, Middleware, MiddlewareStack, MissingFile, MissingRenderer, NotImplemented, ParameterMissing, Parameters, Railtie, RedirectBackError, RenderError, RoutingError, SessionOverflowError, TestCase, TestRequest, TestResponse, TestSession, UnknownController, UnknownFormat, UnknownHttpMethod, UnpermittedParameters, UrlGenerationError

Class Method Summary collapse

Class Method Details

.add_renderer(key, &block) ⇒ Object

See Renderers.add



5
6
7
# File 'lib/action_controller/metal/renderers.rb', line 5

def self.add_renderer(key, &block)
  Renderers.add(key, &block)
end

.eager_load!Object



46
47
48
49
# File 'lib/action_controller.rb', line 46

def self.eager_load!
  super
  ActionController::Caching.eager_load!
end

.remove_renderer(key) ⇒ Object

See Renderers.remove



10
11
12
# File 'lib/action_controller/metal/renderers.rb', line 10

def self.remove_renderer(key)
  Renderers.remove(key)
end