Use the slice’s layout - defaults to underscored identifier.
This is set for generated stubs that support layouts.
@param layout<to_s> The layout name to use.
# File lib/merb-slices/controller_mixin.rb, line 113 def layout_for_slice(layout = nil) layout(layout || self.slice.config[:layout]) if layout || self.slice.config.key?(:layout) end
Generated with the Darkfish Rdoc Generator 2.