Skip to content

Commit

Permalink
fix a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 26, 2015
1 parent 350ee5b commit 8ea4618
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -265,7 +265,7 @@ in the chain and a call to L</"dispatch"> the last, yours will be in between.
});
This is a very powerful hook and should not be used lightly, it allows you for
example to customize application wide exception handling, consider it the
example to customize application-wide exception handling, consider it the
sledgehammer in your toolbox. (Passed a callback leading to the next hook and
the default controller object)
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -559,7 +559,7 @@ value, or call L<Mojolicious::Controller/"render"> with the C<layout> argument.

$c->render(template => 'mytemplate', layout => 'mylayout');

To set a C<layout> stash value application wide you can use
To set a C<layout> stash value application-wide you can use
L<Mojolicious/"defaults">.

$app->defaults(layout => 'mylayout');
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/Config.pm
Expand Up @@ -86,7 +86,7 @@ Mojolicious::Plugin::Config - Perl-ish configuration plugin
# foo.html.ep
%= $config->{foo}
# The configuration is available application wide
# The configuration is available application-wide
my $config = app->config;
say $config->{foo};
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/JSONConfig.pm
Expand Up @@ -62,7 +62,7 @@ Mojolicious::Plugin::JSONConfig - JSON configuration plugin
# foo.html.ep
%= $config->{foo}
# The configuration is available application wide
# The configuration is available application-wide
my $config = app->config;
say $config->{foo};
Expand Down

0 comments on commit 8ea4618

Please sign in to comment.