<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -31,6 +31,9 @@ sub magic_side_request :Local{
     my( $self, $c, @rest_of_path ) = @_;
     $c-&gt;debug('magic side request happens!');
 
+    $c-&gt;stash-&gt;{side_called} ||= 0;
+    $c-&gt;stash-&gt;{side_called}++;
+
     my $path = '/'.join '/', @rest_of_path;
 
     $c-&gt;request-&gt;path($path);
@@ -39,4 +42,22 @@ sub magic_side_request :Local{
     $c-&gt;go($c-&gt;action, $c-&gt;request-&gt;args,  $c-&gt;request-&gt;captures);
 }
 
-;1;
+sub root : Chained('/') PathPart('') CaptureArgs(0) {
+    my( $self, $c, $arg ) = @_;
+    $c-&gt;stash-&gt;{root_called} ||= 0;
+    $c-&gt;stash-&gt;{root_called}++;
+}
+
+sub foo : Chained('root') PathPart('foo2') CaptureArgs(1) {
+    my( $self, $c, $arg ) = @_;
+    $c-&gt;stash-&gt;{foo_called} ||= 0;
+    $c-&gt;stash-&gt;{foo_called}++;
+}
+
+sub other_end : Chained('foo') PathPart('') Args(1) {
+    my( $self, $c, $arg ) = @_;
+    $c-&gt;stash-&gt;{other_called} ||= 0;
+    $c-&gt;stash-&gt;{other_called}++;
+}
+
+1;</diff>
      <filename>lib/MyApp.pm</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 
 use MyApp;
 use Catalyst::Test qw&lt; MyApp &gt;;
-use Test::More tests =&gt; 4;
+use Test::More tests =&gt; 10;
 
 my( $res, $c ) = ctx_request( '/foo/x/bar' );
 
@@ -15,7 +15,15 @@ my( $res, $c ) = ctx_request( '/magic_side_request/foo/x/bar' );
 is( $c-&gt;stash-&gt;{chain_called}, 1, 'called chain indirectly, chain should happen once' );
 is( $c-&gt;stash-&gt;{chain_end_called}, 1, 'called chain end indirectly, chain should happen once' );
 
+my( $res, $c ) = ctx_request( '/foo2/x/y' );
 
+is( $c-&gt;stash-&gt;{other_called}, 1);
+is( $c-&gt;stash-&gt;{foo_called}, 1);
+is( $c-&gt;stash-&gt;{root_called}, 1);
 
+my( $res, $c ) = ctx_request( '/magic_side_request/foo2/x/y' );
 
+is( $c-&gt;stash-&gt;{other_called}, 1);
+is( $c-&gt;stash-&gt;{foo_called}, 1);
+is( $c-&gt;stash-&gt;{root_called}, 1);
 </diff>
      <filename>t/go.t</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c9c46c2ca22fc9deafbc47d44d2f0ac1967cb4e6</id>
    </parent>
  </parents>
  <author>
    <name>t0m</name>
    <email>bobtfish@bobtfish.net</email>
  </author>
  <url>http://github.com/bobtfish/catalyst-app-bug-go_chain/commit/78c801351eb400b387ccb60a02f2727fec01d3f0</url>
  <id>78c801351eb400b387ccb60a02f2727fec01d3f0</id>
  <committed-date>2009-04-24T16:18:22-07:00</committed-date>
  <authored-date>2009-04-24T16:18:22-07:00</authored-date>
  <message>Is this just things with captures, what if you capture multiple things?</message>
  <tree>8f84fca5ca0397049c10319ba23f66aaaecbb003</tree>
  <committer>
    <name>t0m</name>
    <email>bobtfish@bobtfish.net</email>
  </committer>
</commit>
