From 652f66cf59308f901892457f778f7ad2e26411a6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 29 Sep 2011 04:02:11 -0500 Subject: this is exposed directly on the request now --- t/basic.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/basic.t b/t/basic.t index a9d238c..ae0fb88 100644 --- a/t/basic.t +++ b/t/basic.t @@ -25,8 +25,8 @@ use Path::Class (); my ($r) = @_; (my $template = $AUTOLOAD) =~ s/.*:://; $template .= '.tt'; - my $defaults = $r->env->{'plack.router.match'}->mapping; - $self->render($r, $template, $defaults); + my %defaults = $r->mapping; + $self->render($r, $template, \%defaults); } sub can { 1 } } -- cgit v1.2.3