Skip to content

Commit

Permalink
better description for content_for helper
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 3, 2015
1 parent e3ac5b1 commit 5fcc098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -238,8 +238,8 @@ Alias for L<Mojo/"config">.
Store partial rendered content in a named buffer and retrieve it later,
defaults to retrieving the named buffer C<content>, which is commonly used for
the renderers C<layout> and C<extends> features. Note that new content will be
ignored if the named buffer is already in use.
the renderers C<layout> and C<extends> features. New content will be ignored if
the named buffer is already in use.
=head2 content_for
Expand All @@ -248,8 +248,8 @@ ignored if the named buffer is already in use.
% end
%= content_for 'foo'
Same as the L</"content"> helper, but appends more and more content to a named
buffer.
Same as the L</"content"> helper, but append content to named buffers if they
are already in use.
% content_for message => begin
Hello
Expand Down

0 comments on commit 5fcc098

Please sign in to comment.