Version 0.17
[catagits/Catalyst-Plugin-SubRequest.git] / lib / Catalyst / Plugin / SubRequest.pm
index 65aec7e..d0767f4 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use Time::HiRes qw/tv_interval/;
 
-our $VERSION = '0.16';
+our $VERSION = '0.17';
 
 =head1 NAME
 
@@ -98,6 +98,7 @@ sub sub_request_response {
 
     if (ref $path eq 'HASH') {
         @request_mods{keys %$path} = values %$path;
+        $path = $path->{path};
     } else {
         $request_mods{path} = $path;
     }
@@ -151,7 +152,7 @@ SRI, for writing the awesome Catalyst framework
 
 =head1 COPYRIGHT
 
-Copyright (c) 2005 - 2008
+Copyright (c) 2005 - 2011
 the Catalyst::Plugin::SubRequest L</AUTHORS>
 as listed above.