Robert 'phaylon' Sedlacek wrote:
You can chain your action only to other actions or to the root, not to
namespaces. The PathPart attribute controls how the path is built
visibly. There is a :PathPrefix implementation that does what you want
somewhere in Catalyst's SVN, but I don't know when it is expected to go
to CPAN.
The code is pretty simple -- just put this in your base controller:
sub _parse_PathPrefix_attr {
my ( $self, $c, $name, $value ) = @_;
return PathPart => $self->path_prefix;
}
-Brian
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/