| Class | Merb::Controller |
| In: |
lib/merb-parts.rb
|
| Parent: | Object |
Dispatches a PartController.
| opts<Hash>: | A Hash of Options. (see below) |
An option hash has two parts.
Calling a part controller
{{{
part TodoPart => :list
}}}
Calling a part with additional options
{{{
part TodoPart => :list, :limit => 20, :user => current_user
}}}
Returns the result of the PartControllers action, which is a string.