[Catalyst-commits] r14507 - CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Fri Feb 28 22:15:43 GMT 2014
Author: karpet
Date: 2014-02-28 22:15:43 +0000 (Fri, 28 Feb 2014)
New Revision: 14507
Modified:
CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm
Log:
ptidy only
Modified: CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm 2014-02-28 16:18:57 UTC (rev 14506)
+++ CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm 2014-02-28 22:15:43 UTC (rev 14507)
@@ -519,7 +519,8 @@
$self->_check_idempotent($c);
return if $self->has_errors($c);
$self->do_model(
- $c, 'rm_related', $c->stash->{object},
+ $c, 'rm_related',
+ $c->stash->{object},
$c->stash->{rel_name},
$c->stash->{foreign_pk_value}
);
@@ -550,7 +551,8 @@
$self->_check_idempotent($c);
return if $self->has_errors($c);
$self->do_model(
- $c, 'add_related', $c->stash->{object},
+ $c, 'add_related',
+ $c->stash->{object},
$c->stash->{rel_name},
$c->stash->{foreign_pk_value}
);
@@ -591,10 +593,11 @@
}
return if $self->has_errors($c);
$self->view($c); # set form
- my $results
- = $self->do_model( $c, 'iterator_related', $c->stash->{object},
+ my $results = $self->do_model(
+ $c, 'iterator_related',
+ $c->stash->{object},
$c->stash->{rel_name},
- );
+ );
$c->stash( results => $results );
}
@@ -621,7 +624,8 @@
return if $self->has_errors($c);
$self->view($c); # set form
my $result = $self->do_model(
- $c, 'find_related', $c->stash->{object},
+ $c, 'find_related',
+ $c->stash->{object},
$c->stash->{rel_name},
$c->stash->{foreign_pk_value}
);
More information about the Catalyst-commits
mailing list