1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_controller/new_base/renderer.rb

11 lines
No EOL
168 B
Ruby

module ActionController
module Renderer
def render(options)
if text = options[:text]
self.response_body = text
end
end
end
end