use strict;
use File::Spec;
+our $VERSION = '0.45';
+$VERSION = eval $VERSION;
+
sub mk_compclass {
my ( $self, $helper, @args ) = @_;
my $file = $helper->{file};
# use the helper to create the view module and templates
- $ script/myapp_create.pl view TT TTSite
+ $ script/myapp_create.pl view HTML TTSite
# add something like the following to your main application module
$c->stash->{template} = 'welcome.tt2';
}
- sub end : Private {
+ sub end : Private { # Or use Catalyst::Action::RenderView
my ( $self, $c ) = @_;
- $c->forward( $c->view('TT') );
+ $c->forward( $c->view('HTML') );
}
=head1 DESCRIPTION
=back
-Finally, the rendered content is returned to the bowser.
+Finally, the rendered content is returned to the browser.
=head1 METHODS
PRE_PROCESS => 'config/main',
WRAPPER => 'site/wrapper',
ERROR => 'error.tt2',
- TIMER => 0
+ TIMER => 0,
+ render_die => 1,
});
=head1 NAME