Skip to content

Commit

Permalink
help perltidy a little
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 29, 2017
1 parent dbc3393 commit eea826a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojolicious/Lite.pm
Expand Up @@ -33,8 +33,7 @@ sub import {
for my $name (qw(any get options patch post put websocket)) {
monkey_patch $caller, $name, sub { $routes->$name(@_) };
}
monkey_patch $caller, $_, sub {$app}
for qw(new app);
monkey_patch($caller, $_, sub {$app}) for qw(new app);
monkey_patch $caller, del => sub { $routes->delete(@_) };
monkey_patch $caller, group => sub (&) {
(my $old, $root) = ($root, $routes);
Expand Down

0 comments on commit eea826a

Please sign in to comment.