Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/rails_fcgi/fixes.rb
Instance Method Summary collapse
Instance Method Details
#render_text(text = nil, status = nil) ⇒ Object
29 30 31 32 33 |
# File 'lib/rails_fcgi/fixes.rb', line 29 def render_text(text = nil, status = nil) @performed_render = true @response.headers['status'] = (status || DEFAULT_RENDER_STATUS_CODE).to_s @response.body = text end |