Skip to content

Instantly share code, notes, and snippets.

@nekokak
Created January 26, 2012 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nekokak/1680615 to your computer and use it in GitHub Desktop.
Save nekokak/1680615 to your computer and use it in GitHub Desktop.
package Sample::Web::Handler;
use Kamui;
use base 'Kamui::Web::Handler';
use Sample::Web::Context;
sub context {'Sample::Web::Context'}
use Sample::Web::Dispatcher;
sub dispatcher {'Sample::Web::Dispatcher'}
sub view {'Kamui::View::TT'}
sub plugins {
[qw/
FormValidatorLite
Session
/]
}
use Sample::Container -no_export;
sub container { Sample::Container->instance }
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment