kraih/mojo — Issue #297: Extend the examples in 'Guides::Rendering - Partial rendering'
Author: wcravens
Created: 2012-03-05 12:45:39+00:00
State: open

Original suggestion was to add:
# Synonymous with calling Mojolicious::Controller->render_partial()
my $html = $self->render_partial('mail');

It was pointed out that Mojolicious::Controller->render_partial() would be misleading, and the word Synonymous could be replaced with 'Equivalent to'

e.g.

# Equivalent to calling render_partial() from Mojolicious::Controller
my $html = $self->render_partial('mail');