method

new

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: ActionController::Responder
new(controller, resources, options={}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/responder.rb, line 129
    def initialize(controller, resources, options={})
      @controller = controller
      @request = @controller.request
      @format = @controller.formats.first
      @resource = resources.last
      @resources = resources
      @options = options
      @action = options.delete(:action)
      @default_response = options.delete(:default_response)
    end
Register or log in to add new notes.