instance method render_component_as_string

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

render_component_as_string(options)

Returns the component response as a string

Parameters

options req
Source
# File actionpack/lib/action_controller/components.rb, line 89
        def render_component_as_string(options) #:doc:
          component_logging(options) do
            response = component_response(options, false)

            if redirected = response.redirected_to
              render_component_as_string(redirected)
            else
              response.body
            end
          end
        end

Defined in actionpack/lib/action_controller/components.rb line 89 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Components::InstanceMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close