Skip to content

Commit

Permalink
pluralize the path
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 6, 2015
1 parent 424c7a2 commit 3fb9c6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious.pm
Expand Up @@ -438,7 +438,7 @@ L<Mojolicious::Guides::Rendering>.
push @{$app->renderer->paths}, '/home/sri/templates';
# Add another "templates" directory with higher precedence
unshift @{$app->renderer->paths}, '/home/sri/theme/blue/templates';
unshift @{$app->renderer->paths}, '/home/sri/themes/blue/templates';
# Add another class with templates in DATA section
push @{$app->renderer->classes}, 'Mojolicious::Plugin::Fun';
Expand Down Expand Up @@ -501,7 +501,7 @@ L<Mojolicious::Static> object.
push @{$app->static->paths}, '/home/sri/public';
# Add another "public" directory with higher precedence
unshift @{$app->static->paths}, '/home/sri/theme/blue/public';
unshift @{$app->static->paths}, '/home/sri/themes/blue/public';
# Add another class with static files in DATA section
push @{$app->static->classes}, 'Mojolicious::Plugin::Fun';
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Renderer.pm
Expand Up @@ -350,7 +350,7 @@ Directories to look for templates in, first one has the highest precedence.
push @{$renderer->paths}, '/home/sri/templates';
# Add another "templates" directory with higher precedence
unshift @{$renderer->paths}, '/home/sri/theme/blue/templates';
unshift @{$renderer->paths}, '/home/sri/themes/blue/templates';
=head1 METHODS
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Static.pm
Expand Up @@ -198,7 +198,7 @@ Directories to serve static files from, first one has the highest precedence.
push @{$static->paths}, '/home/sri/public';
# Add another "public" directory with higher precedence
unshift @{$static->paths}, '/home/sri/theme/blue/public';
unshift @{$static->paths}, '/home/sri/themes/blue/public';
=head1 METHODS
Expand Down

0 comments on commit 3fb9c6f

Please sign in to comment.