#
sub cross2 :PathPart('end') :Chained('/action/chained/bar/cross1') :Args(1) { }
+#
+# Create a uri to the root index
+#
+sub to_root : Chained('/') PathPart('action/chained/to_root') {
+ my ( $self, $c ) = @_;
+ my $uri = $c->uri_for_action('/chain_root_index');
+ $c->res->body( "URI:$uri" );
+ $c->stash->{no_end}++;
+}
+
1;