Module: ActionController

Extended by:
ActiveSupport::Autoload
Defined in:
lib/action_controller/metal/flash.rb,
lib/action_controller.rb,
lib/action_controller/api.rb,
lib/action_controller/base.rb,
lib/action_controller/metal.rb,
lib/action_controller/caching.rb,
lib/action_controller/railtie.rb,
lib/action_controller/renderer.rb,
lib/action_controller/test_case.rb,
lib/action_controller/metal/head.rb,
lib/action_controller/metal/live.rb,
lib/action_controller/form_builder.rb,
lib/action_controller/metal/rescue.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/api/api_rendering.rb,
lib/action_controller/metal/redirecting.rb,
lib/action_controller/metal/mime_responds.rb,
lib/action_controller/template_assertions.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/etag_with_flash.rb,
lib/action_controller/metal/implicit_render.rb,
lib/action_controller/metal/instrumentation.rb,
lib/action_controller/metal/strong_parameters.rb,
lib/action_controller/metal/parameter_encoding.rb,
lib/action_controller/metal/http_authentication.rb,
lib/action_controller/metal/basic_implicit_render.rb,
lib/action_controller/metal/content_security_policy.rb,
lib/action_controller/metal/etag_with_template_digest.rb,
lib/action_controller/metal/request_forgery_protection.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ApiRendering, BasicImplicitRender, Caching, ConditionalGet, ContentSecurityPolicy, Cookies, DataStreaming, EtagWithFlash, EtagWithTemplateDigest, Flash, ForceSSL, FormBuilder, Head, Helpers, HttpAuthentication, ImplicitRender, Instrumentation, Live, MimeResponds, ParameterEncoding, ParamsWrapper, Railties, Redirecting, Renderers, Rendering, RequestForgeryProtection, Rescue, Streaming, StrongParameters, TemplateAssertions, Testing, UrlFor Classes: API, ActionControllerError, BadRequest, Base, InvalidAuthenticityToken, InvalidCrossOriginRequest, LiveTestResponse, LogSubscriber, Metal, MethodNotAllowed, MiddlewareStack, MissingFile, MissingRenderer, NotImplemented, ParameterMissing, Parameters, Railtie, RenderError, Renderer, RoutingError, SessionOverflowError, TestCase, TestRequest, TestSession, UnfilteredParameters, UnknownFormat, UnknownHttpMethod, UnpermittedParameters, UrlGenerationError

Class Method Summary collapse

Class Method Details

.add_renderer(key, &block) ⇒ Object

See Renderers.add



7
8
9
# File 'lib/action_controller/metal/renderers.rb', line 7

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

.remove_renderer(key) ⇒ Object

See Renderers.remove



12
13
14
# File 'lib/action_controller/metal/renderers.rb', line 12

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