Action Controller

Action Controller is a module of Action Pack.

Action Controller provides a base controller class that can be subclassed to implement filters and actions to handle requests. The result of an action is typically content generated from views.

Namespace

Module

Class

Methods

Class Public methods

add_renderer(key, &block)

📝 Source code
# File actionpack/lib/action_controller/metal/renderers.rb, line 7
  def self.add_renderer(key, &block)
    Renderers.add(key, &block)
  end
🔎 See on GitHub

remove_renderer(key)

📝 Source code
# File actionpack/lib/action_controller/metal/renderers.rb, line 12
  def self.remove_renderer(key)
    Renderers.remove(key)
  end
🔎 See on GitHub