Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c1aa5b0e14
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.373 kB
module ActionController
module Layouts
depends_on ActionController::Renderer
depends_on AbstractController::Layouts
def render_to_string(options)
if !options.key?(:text) || options.key?(:layout)
options[:_layout] = options.key?(:layout) ? _layout_for_option(options[:layout]) : _default_layout
end
super
end
end
end
Jump to Line
Something went wrong with that request. Please try again.