---
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
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