Browse Source

convert one more helper to the ->helpers optimization

Joel Berger 11 years ago
parent
commit
9f620b83d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Perl/mojolicious/app.pl

+ 1 - 1
frameworks/Perl/mojolicious/app.pl

@@ -84,7 +84,7 @@ helper 'render_query' => sub {
     $self->helpers->render_json($r) unless $tx->is_finished;
   });
 
-  my $world = $self->world;
+  my $world = $self->helpers->world;
 
   foreach (1 .. $q) {
     my $id = int rand 10_000;