Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no need to create an extra object
  • Loading branch information
kraih committed May 18, 2017
1 parent 6b29ec8 commit 4718745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

7.32 2017-05-06
7.32 2017-05-18

7.31 2017-04-23
- Removed deprecated files, slurp and spurt functions from Mojo::Util.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Renderer.pm
Expand Up @@ -17,8 +17,8 @@ has [qw(handlers helpers)] => sub { {} };
has paths => sub { [] };

# Bundled templates
my $TEMPLATES = Mojo::Home->new(Mojo::Home->new->mojo_lib_dir)
->child('Mojolicious', 'resources', 'templates');
my $TEMPLATES = Mojo::Home->new->mojo_lib_dir->child('Mojolicious', 'resources',
'templates');

sub DESTROY { Mojo::Util::_teardown($_) for @{shift->{namespaces}} }

Expand Down

0 comments on commit 4718745

Please sign in to comment.