Am 21.10.2009 um 00:25 schrieb Steve Rippl:
Hi,
I'm using TT for my View templates, and I'm experimenting with
Template::Plugin::Latex for generating pdf reports. Now I'm
generating
pdfs (which is nice!) but not redirecting to them at the end, so I
suspect I'm using the wrong approach.
* Zbigniew Lukasiak zzb...@gmail.com [2009-10-21 14:15]:
What is the advantage of this over:
sub view : Local {
my ( $self, $c, $id ) = @_;
$self-start( $c, $id );
# do something with $c-stash-{obj}
return 1;
}
Consider `/forum/7/topic/13/post/4/editform`. The end point in
that chain
Zbigniew Lukasiak wrote:
What is the advantage of this over:
sub view : Local {
my ( $self, $c, $id ) = @_;
$self-start( $c, $id );
# do something with $c-stash-{obj}
return 1;
}
For me there are lots of little reasons. I suppose its a personal choice.
I like the URI structure
On Wed, Oct 21, 2009 at 6:52 AM, Aristotle Pagaltzis pagalt...@gmx.dewrote:
* Zbigniew Lukasiak zzb...@gmail.com [2009-10-21 14:15]:
What is the advantage of this over:
sub view : Local {
my ( $self, $c, $id ) = @_;
$self-start( $c, $id );
# do something with $c-stash-{obj}