Module: ActionController

Extended by:
ActiveSupport::Autoload
Defined in:
actionpack/lib/action_controller/caching.rb,
actionpack/lib/action_controller.rb,
actionpack/lib/action_controller/base.rb,
actionpack/lib/action_controller/metal.rb,
actionpack/lib/action_controller/railtie.rb,
actionpack/lib/action_controller/test_case.rb,
actionpack/lib/action_controller/middleware.rb,
actionpack/lib/action_controller/metal/head.rb,
actionpack/lib/action_controller/metal/flash.rb,
actionpack/lib/action_controller/metal/rescue.rb,
actionpack/lib/action_controller/caching/pages.rb,
actionpack/lib/action_controller/metal/helpers.rb,
actionpack/lib/action_controller/metal/cookies.rb,
actionpack/lib/action_controller/metal/testing.rb,
actionpack/lib/action_controller/metal/url_for.rb,
actionpack/lib/action_controller/railties/paths.rb,
actionpack/lib/action_controller/log_subscriber.rb,
actionpack/lib/action_controller/caching/actions.rb,
actionpack/lib/action_controller/metal/responder.rb,
actionpack/lib/action_controller/metal/renderers.rb,
actionpack/lib/action_controller/metal/streaming.rb,
actionpack/lib/action_controller/metal/rendering.rb,
actionpack/lib/action_controller/metal/force_ssl.rb,
actionpack/lib/action_controller/caching/sweeping.rb,
actionpack/lib/action_controller/metal/exceptions.rb,
actionpack/lib/action_controller/caching/fragments.rb,
actionpack/lib/action_controller/record_identifier.rb,
actionpack/lib/action_controller/metal/redirecting.rb,
actionpack/lib/action_controller/metal/hide_actions.rb,
actionpack/lib/action_controller/metal/mime_responds.rb,
actionpack/lib/action_controller/metal/compatibility.rb,
actionpack/lib/action_controller/metal/data_streaming.rb,
actionpack/lib/action_controller/metal/params_wrapper.rb,
actionpack/lib/action_controller/metal/rack_delegation.rb,
actionpack/lib/action_controller/metal/instrumentation.rb,
actionpack/lib/action_controller/metal/implicit_render.rb,
actionpack/lib/action_controller/metal/conditional_get.rb,
actionpack/lib/action_controller/metal/session_management.rb,
actionpack/lib/action_controller/metal/http_authentication.rb,
actionpack/lib/action_controller/metal/request_forgery_protection.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Caching, Compatibility, ConditionalGet, Cookies, DataStreaming, Flash, ForceSSL, Head, Helpers, HideActions, HttpAuthentication, ImplicitRender, Instrumentation, MimeResponds, ParamsWrapper, RackDelegation, Railties, RecordIdentifier, Redirecting, Renderers, Rendering, RequestForgeryProtection, Rescue, SessionManagement, Streaming, TemplateAssertions, Testing, UrlFor Classes: ActionControllerError, Base, InvalidAuthenticityToken, LogSubscriber, Metal, MethodNotAllowed, Middleware, MiddlewareStack, MissingFile, NotImplemented, Railtie, RedirectBackError, RenderError, Responder, RoutingError, SessionOverflowError, TestCase, TestRequest, TestResponse, TestSession, UnknownController, UnknownHttpMethod

Class Method Summary collapse

Methods included from ActiveSupport::Autoload

autoload, autoload_at, autoload_under, autoloads, eager_autoload, eager_autoload!

Class Method Details

.add_renderer(key, &block) ⇒ Object

See Renderers.add



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

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