Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 698

Show
Ignore:
Timestamp:
02/19/05 20:33:15 (4 years ago)
Author:
david
Message:

Use full status for render_component from within a controller

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/components.rb

    r697 r698  
    99      def render_component(options = {}) #:doc: 
    1010        response = component_response(options) 
    11         render_text(response.body, response.response_code
     11        render_text(response.body, response.headers["Status"]
    1212      end 
    1313