Displaying 1 result from an estimated 1 matches for "inside_layout".
2007 Aug 11
0
nested layouts
hi,
I''m using a helper like in nested-layouts plugin as follows
def inside_layout(layout, &block)
layout = layout.include?(''/'') ? layout : "layouts/#{layout}"
@template.instance_variable_set(''@content_for_layout'', capture
(&block))
concat(
@template.render( :file => layout, :user_full_path => true...