Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention stash values
  • Loading branch information
kraih committed Jun 16, 2014
1 parent 59061a6 commit 27d7831
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.08 2014-06-16
5.08 2014-06-17
- Added reset method to Mojo::IOLoop.
- Added reset method to Mojo::Reactor.
- Added reset method to Mojo::Reactor::Poll.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Controller.pm
Expand Up @@ -658,7 +658,7 @@ Render content using L<Mojolicious::Renderer/"render"> and emit hooks
L<Mojolicious/"before_render"> as well as L<Mojolicious/"after_render">. If no
template is provided a default one based on controller and action or route
name will be generated with L<Mojolicious::Renderer/"template_for">, all
additional values get merged into the L</"stash">.
additional pairs get merged into the L</"stash">.
# Render characters
$c->render(text => 'I ♥ Mojolicious!');
Expand Down
8 changes: 5 additions & 3 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -219,7 +219,8 @@ Dump a Perl data structure with L<Mojo::Util/"dumper">.
% extends 'blue';
% extends 'blue', title => 'Blue!';
Extend a template. All additional values get merged into the L</"stash">.
Set C<extends> stash value, all additional pairs get merged into the
L</"stash">.
=head2 flash
Expand All @@ -239,7 +240,7 @@ Alias for C<Mojolicious::Controller/"render_to_string">.
% layout 'green';
% layout 'green', title => 'Green!';
Render this template with a layout. All additional values get merged into the
Set C<layout> stash value, all additional pairs get merged into the
L</"stash">.
=head2 param
Expand Down Expand Up @@ -269,7 +270,8 @@ Alias for L<Mojolicious::Controller/"stash">.
% title 'Welcome!', foo => 'bar';
%= title
Page title. All additional values get merged into the L</"stash">.
Set C<title> stash value, all additional pairs get merged into the
L</"stash">.
=head2 ua
Expand Down

0 comments on commit 27d7831

Please sign in to comment.