Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention that blocks are important for helpers
  • Loading branch information
kraih committed Jan 31, 2014
1 parent b0e3b6c commit 520a958
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Lite.pm
Expand Up @@ -311,7 +311,8 @@ be used to pass additional data to the layout.
=head2 Blocks
Template blocks can be used like normal Perl functions and are always
delimited by the C<begin> and C<end> keywords.
delimited by the C<begin> and C<end> keywords, they are the foundation for
many helpers.
use Mojolicious::Lite;
Expand Down

0 comments on commit 520a958

Please sign in to comment.