Skip to Content Skip to Search

module ActionController

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.

Public class methods

Source code GitHub
# File actionpack/lib/action_controller/metal/renderers.rb, line 7
def self.add_renderer(key, &block)
  Renderers.add(key, &block)
end
Source code GitHub
# File actionpack/lib/action_controller/metal/renderers.rb, line 12
def self.remove_renderer(key)
  Renderers.remove(key)
end

Namespace

Definition files

41 More Less