NAME

Template Controller base class for CGI::Application::Structured apps.

SYNOPSIS

A controller module for <tmpl_var main_module>.

Imports DBIx::Class schema here for all subclasses generated by script/create_controller.pl

DESCRIPTION

This module acts as the base class for Controllers for this app. Subclasses are found in the <tmpl_var module>::C package.

METHODS

SUBCLASSED METHODS

error

This error page is suitable for development but you will want to customize this runmode for your application.

cgiapp_init

Initializes the Controller base class for app, configures DBIx::Class plugin, sets an error mode and configures the TT template directory.

Use 'setup' in your subclasses to futher configure for each Controller subclass. 'setup' is called after 'cgiapp_init'.

TODO: change all these values to ones more appropriate for your application.

TODO: Other methods in your public interface go here.

BUGS AND LIMITATIONS

There are no known problems with this module.

Please report any bugs or feature requests at rt.cpan.org

I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

CGI::Application

THANKS

List acknowledgements here or delete this section.

AUTHOR

<tmpl_var author>

LICENSE AND COPYRIGHT

Copyright <tmpl_var year> <tmpl_var author>, all rights reserved.

<tmpl_var license_blurb>