NAME

Amon2::Web::Dispatcher::Lite - Sinatra like dispatcher for Amon2

SYNOPSIS

package MyApp::Web;
use Amon2::Web::Dispatcher::Lite;

get '/' => sub {
    render('index.mt');
};
get '/hello/:name' => sub {
    my ($c, $args) = @_;
    render('hello.mt', $args->{name});
};

1;

DESCRIPTION

It's in alpha quality

We will split this module from Amon2 core distribution. You need to list this class to your cpanfile.