Module: ActionController

Extended by:
ActiveSupport::Autoload
Defined in:
actionpack/lib/action_controller/metal/flash.rb,
actionpack/lib/action_controller.rb,
actionpack/lib/action_controller/api.rb,
actionpack/lib/action_controller/base.rb,
actionpack/lib/action_controller/metal.rb,
actionpack/lib/action_controller/caching.rb,
actionpack/lib/action_controller/railtie.rb,
actionpack/lib/action_controller/renderer.rb,
actionpack/lib/action_controller/test_case.rb,
actionpack/lib/action_controller/metal/head.rb,
actionpack/lib/action_controller/metal/live.rb,
actionpack/lib/action_controller/form_builder.rb,
actionpack/lib/action_controller/metal/rescue.rb,
actionpack/lib/action_controller/metal/cookies.rb,
actionpack/lib/action_controller/metal/helpers.rb,
actionpack/lib/action_controller/metal/logging.rb,
actionpack/lib/action_controller/metal/testing.rb,
actionpack/lib/action_controller/metal/url_for.rb,
actionpack/lib/action_controller/log_subscriber.rb,
actionpack/lib/action_controller/metal/force_ssl.rb,
actionpack/lib/action_controller/metal/renderers.rb,
actionpack/lib/action_controller/metal/rendering.rb,
actionpack/lib/action_controller/metal/streaming.rb,
actionpack/lib/action_controller/metal/exceptions.rb,
actionpack/lib/action_controller/railties/helpers.rb,
actionpack/lib/action_controller/api/api_rendering.rb,
actionpack/lib/action_controller/metal/redirecting.rb,
actionpack/lib/action_controller/metal/mime_responds.rb,
actionpack/lib/action_controller/template_assertions.rb,
actionpack/lib/action_controller/metal/data_streaming.rb,
actionpack/lib/action_controller/metal/feature_policy.rb,
actionpack/lib/action_controller/metal/params_wrapper.rb,
actionpack/lib/action_controller/metal/conditional_get.rb,
actionpack/lib/action_controller/metal/default_headers.rb,
actionpack/lib/action_controller/metal/etag_with_flash.rb,
actionpack/lib/action_controller/metal/implicit_render.rb,
actionpack/lib/action_controller/metal/instrumentation.rb,
actionpack/lib/action_controller/metal/strong_parameters.rb,
actionpack/lib/action_controller/metal/parameter_encoding.rb,
actionpack/lib/action_controller/metal/http_authentication.rb,
actionpack/lib/action_controller/metal/basic_implicit_render.rb,
actionpack/lib/action_controller/metal/content_security_policy.rb,
actionpack/lib/action_controller/metal/etag_with_template_digest.rb,
actionpack/lib/action_controller/metal/request_forgery_protection.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ApiRendering, BasicImplicitRender, Caching, ConditionalGet, ContentSecurityPolicy, Cookies, DataStreaming, DefaultHeaders, EtagWithFlash, EtagWithTemplateDigest, FeaturePolicy, Flash, ForceSSL, FormBuilder, Head, Helpers, HttpAuthentication, ImplicitRender, Instrumentation, Live, Logging, 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, MissingExactTemplate, MissingFile, MissingRenderer, NotImplemented, ParameterMissing, Parameters, Railtie, RenderError, Renderer, RespondToMismatchError, RoutingError, SessionOverflowError, TestCase, TestRequest, TestSession, UnfilteredParameters, UnknownFormat, UnknownHttpMethod, UnpermittedParameters, UrlGenerationError

Class Method Summary collapse

Methods included from ActiveSupport::Autoload

autoload, autoload_at, autoload_under, autoloads, eager_autoload, eager_load!, extended

Class Method Details

.add_renderer(key, &block) ⇒ Object

See Renderers.add



7
8
9
# File 'actionpack/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 'actionpack/lib/action_controller/metal/renderers.rb', line 12

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