[Catalyst-commits] r8335 -
CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Wed Sep 3 05:17:10 BST 2008
Author: karpet
Date: 2008-09-03 05:17:09 +0100 (Wed, 03 Sep 2008)
New Revision: 8335
Modified:
CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/REST.pm
Log:
pass params on in redirect from create -> create_form
Modified: CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/REST.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/REST.pm 2008-09-02 23:54:43 UTC (rev 8334)
+++ CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/REST.pm 2008-09-03 04:17:09 UTC (rev 8335)
@@ -115,7 +115,8 @@
sub _rest_create : Path('create') {
my ( $self, $c ) = @_;
- $c->res->redirect( $c->uri_for( $self->action_for('create_form') ) );
+ $c->res->redirect(
+ $c->uri_for( $self->action_for('create_form'), $c->req->params ) );
}
=head2 rest
More information about the Catalyst-commits
mailing list