Module Merb::RenderMixin::ClassMethods
In: lib/merb-core/controller/mixins/render.rb

Methods

Public Instance methods

Enable the default layout logic - reset the layout option.

Return the default render options.

Returns

Hash:An options hash

Set the default layout to use or nil/false to disable layout rendering. This is a shortcut for render_options :layout => false.

Parameters

layout<~to_s>:The layout that should be used for this class

Returns

Hash:The default render options.

Set default render options at the class level.

Parameters

opts<Hash>:An options hash

[Validate]