--- /dev/null
+package TestApp::Controller::Engine::Request::URI;\r
+\r
+use strict;\r
+use base 'Catalyst::Base';\r
+\r
+sub default : Private {\r
+ my ( $self, $c ) = @_;\r
+ \r
+ $c->forward('TestApp::View::Dump::Request');\r
+}\r
+\r
+sub change_path : Local {\r
+ my ( $self, $c ) = @_;\r
+ \r
+ # change the path\r
+ $c->req->path( '/my/app/lives/here' );\r
+ \r
+ $c->forward('TestApp::View::Dump::Request');\r
+}\r
+\r
+sub change_base : Local {\r
+ my ( $self, $c ) = @_;\r
+ \r
+ # change the base and uri paths\r
+ $c->req->base->path( '/new/location' );\r
+ $c->req->uri->path( '/new/location/engine/request/uri/change_base' );\r
+ \r
+ $c->forward('TestApp::View::Dump::Request');\r
+}\r
+\r
+1;\r