X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FForward.pm;fp=t%2Flib%2FTestApp%2FController%2FAction%2FForward.pm;h=8a88e7f4e2c29cd507aca4fe04f4c02673338613;hb=e5d7f18ca33ac9a5df3e22a5d7161a4a3b2cce36;hp=9bb4ae7a96fa41e303f1b1c96473a13a962ec487;hpb=fd4f7379463be08fea8ad97feaa3b648f7b15df9;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Action/Forward.pm b/t/lib/TestApp/Controller/Action/Forward.pm index 9bb4ae7..8a88e7f 100644 --- a/t/lib/TestApp/Controller/Action/Forward.pm +++ b/t/lib/TestApp/Controller/Action/Forward.pm @@ -42,4 +42,10 @@ sub inheritance : Relative { $c->forward('five'); } +sub global : Relative { + my ( $self, $c ) = @_; + $c->forward('/global_action'); +} + + 1;