![]() |
![]()
| ![]() |
![]()
NAMERouter::Simple::SubMapper - submapper SYNOPSISuse Router::Simple; my $router = Router::Simple->new(); my $s = $router->submapper('/entry/{id}', {controller => 'Entry'}); $s->connect('/edit' => {action => 'edit'}) ->connect('/show' => {action => 'show'}); DESCRIPTIONRouter::Simple::SubMapper is sub-mapper for Router::Simple. This class provides shorthand to create routes, that have common parts. METHODS
SEE ALSORouter::Simple
|