Skip to content

Commit

Permalink
remove unnecessary stack frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Sep 12, 2014
1 parent 121a60b commit 55d9535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -30,8 +30,8 @@ sub register {
$app->helper(include => sub { shift->render_to_string(@_) });
$app->helper('reply.exception' => sub { _development('exception', @_) });
$app->helper('reply.not_found' => sub { _development('not_found', @_) });
$app->helper('reply.static' => sub { _static(@_) });
$app->helper(ua => sub { shift->app->ua });
$app->helper('reply.static' => \&_static);
$app->helper(ua => sub { shift->app->ua });
}

sub _accepts {
Expand Down

0 comments on commit 55d9535

Please sign in to comment.