Skip to content

Commit

Permalink
mention that render can also call the reply->not_found helper
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 2, 2014
1 parent e721a42 commit 336b4e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.68 2014-12-01
5.68 2014-12-02
- Fixed deprecation warnings in get command.

5.67 2014-11-27
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -665,8 +665,10 @@ Prepare a C<302> redirect response, takes the same arguments as L</"url_for">.
my $bool = $c->render('foo/index');
Render content with L<Mojolicious::Renderer/"render"> and emit hooks
L<Mojolicious/"before_render"> as well as L<Mojolicious/"after_render">, all
additional pairs get merged into the L</"stash">.
L<Mojolicious/"before_render"> as well as L<Mojolicious/"after_render">, or
call L<Mojolicious::Plugin::DefaultHelpers/"reply-E<gt>not_found"> if no
response could be generated,, all additional pairs get merged into the
L</"stash">.
# Render characters
$c->render(text => 'I ♥ Mojolicious!');
Expand Down

0 comments on commit 336b4e5

Please sign in to comment.