[Catalyst-dev] [Catalyst-Plugin-FillInForm PATCH] documentation fix
- short-circuit view rather than fillform
Peter Collingbourne
peter at pcc.me.uk
Mon Mar 9 21:24:04 GMT 2009
---
lib/Catalyst/Plugin/FillInForm.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/Catalyst/Plugin/FillInForm.pm b/lib/Catalyst/Plugin/FillInForm.pm
index 21405b3..5f6c96e 100644
--- a/lib/Catalyst/Plugin/FillInForm.pm
+++ b/lib/Catalyst/Plugin/FillInForm.pm
@@ -130,8 +130,8 @@ Then you'll need to change it to something like this:
sub end : Private {
my ($self, $c) = @_;
- $c->forward('render');
- $c->fillform($c->req->params) unless $c->res->output;
+ $c->forward('render') unless $c->res->output;
+ $c->fillform($c->req->params);
}
sub render : ActionClass('RenderView') { }
--
1.5.6.5
--
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20090309/25d65e90/attachment.pgp
More information about the Catalyst-dev
mailing list