[Catalyst-commits] r9713 -
CatalystX-CRUD/CatalystX-CRUD-View-Excel/trunk/lib/CatalystX/CRUD/View
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Thu Apr 16 17:02:38 GMT 2009
Author: karpet
Date: 2009-04-16 18:02:38 +0100 (Thu, 16 Apr 2009)
New Revision: 9713
Modified:
CatalystX-CRUD/CatalystX-CRUD-View-Excel/trunk/lib/CatalystX/CRUD/View/Excel.pm
Log:
fix extra . and add debug
Modified: CatalystX-CRUD/CatalystX-CRUD-View-Excel/trunk/lib/CatalystX/CRUD/View/Excel.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-View-Excel/trunk/lib/CatalystX/CRUD/View/Excel.pm 2009-04-16 17:02:32 UTC (rev 9712)
+++ CatalystX-CRUD/CatalystX-CRUD-View-Excel/trunk/lib/CatalystX/CRUD/View/Excel.pm 2009-04-16 17:02:38 UTC (rev 9713)
@@ -84,6 +84,8 @@
my $template = $self->get_template_filename($c);
+ $c->log->debug("template_filename: $template") if $c->debug;
+
( defined $template )
|| $self->throw_error('No template specified for rendering');
@@ -147,7 +149,7 @@
sub get_template_filename {
my ( $self, $c ) = @_;
$c->stash->{template}
- || ( $c->action . '.xls.' . $self->config->{TEMPLATE_EXTENSION} );
+ || ( $c->action . '.xls' . $self->config->{TEMPLATE_EXTENSION} );
}
=head2 get_filename( I<context> )
More information about the Catalyst-commits
mailing list