X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FDump.pm;h=84ebe8d99caae3b47e3cadc73c9d3cbfcbeeba03;hb=eff6001994ab7558c366fa5f9e5aa8c2de69ac4a;hp=69431b36ef3df3a7798211a770c0eac2cf484208;hpb=81e2964aaa2c62ad7a5eb3be4d1b436265e17038;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Dump.pm b/t/lib/TestApp/Controller/Dump.pm index 69431b3..84ebe8d 100644 --- a/t/lib/TestApp/Controller/Dump.pm +++ b/t/lib/TestApp/Controller/Dump.pm @@ -10,6 +10,13 @@ sub default : Action { sub env : Action Relative { my ( $self, $c ) = @_; + $c->stash(env => $c->req->env); + $c->forward('TestApp::View::Dump::Env'); +} + +sub env_on_engine : Action Relative { + my ( $self, $c ) = @_; + $c->stash(env => $c->engine->env); $c->forward('TestApp::View::Dump::Env'); }