File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -518,11 +518,7 @@ L<Mojolicious::Plugin::DefaultHelpers/"reply-E<gt>not_found">.
518
518
519
519
app->start;
520
520
521
- To change the HTTP status code of the exception, you can use L<Mojolicious::Controller/"rendered">.
522
-
523
- return $c->reply->exception('Division by zero!')->rendered(400) if $divisor == 0;
524
-
525
- You can also change the templates of those pages, since you most likely want to show your users something more closely
521
+ You can change the templates of those pages, since you most likely want to show your users something more closely
526
522
related to your application in production. The renderer will always try to find C<exception.$mode.$format.*> or
527
523
C<not_found.$mode.$format.*> before falling back to the built-in default templates.
528
524
You can’t perform that action at this time.
0 commit comments