Skip to content

Commit

Permalink
move public and templates directories to avoid conflicts with older v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
kraih committed Oct 20, 2015
1 parent dcfb9f2 commit 0141cc9
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Renderer.pm
Expand Up @@ -25,7 +25,7 @@ has paths => sub { [] };

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

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

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Static.pm
Expand Up @@ -14,7 +14,7 @@ has paths => sub { [] };

# Bundled files
my $PUBLIC = Mojo::Home->new(Mojo::Home->new->mojo_lib_dir)
->rel_dir('Mojolicious/public');
->rel_dir('Mojolicious/resources/public');

sub dispatch {
my ($self, $c) = @_;
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 0141cc9

Please sign in to comment.