projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix minor mistake in custom error screen (Jan Ivar Pladsen)
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Manual
/
Cookbook.pod
diff --git
a/lib/Catalyst/Manual/Cookbook.pod
b/lib/Catalyst/Manual/Cookbook.pod
index
a7bfbd6
..
0410d79
100644
(file)
--- a/
lib/Catalyst/Manual/Cookbook.pod
+++ b/
lib/Catalyst/Manual/Cookbook.pod
@@
-599,7
+599,7
@@
C<end> method; see L<Catalyst::Plugin::FillInForm>).
$c->stash->{errors} = $c->error;
$c->stash->{template} = 'errors.tt';
$c->forward('MyApp::View::TT');
- $c->{error} = [];
+ $c->error(0);
}
return 1 if $c->response->status =~ /^3\d\d$/;