diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-09-29 04:02:11 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-09-29 04:02:11 -0500 |
commit | 652f66cf59308f901892457f778f7ad2e26411a6 (patch) | |
tree | b743112a5ae6f19214c10bec91827cf79bbb2f04 /t | |
parent | 2b8b1208ad357d3e8558e9b34cb99e5a299887b8 (diff) | |
download | ox-view-tt-652f66cf59308f901892457f778f7ad2e26411a6.tar.gz ox-view-tt-652f66cf59308f901892457f778f7ad2e26411a6.zip |
this is exposed directly on the request now
Diffstat (limited to 't')
-rw-r--r-- | t/basic.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } } |