Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed a few small typos

  • Loading branch information...
commit dbdbad9a0415fa4fcbf436367c3477ec8d230060 1 parent c541c55
@kraih authored
View
6 lib/Mojolicious/Guides/Rendering.pod
@@ -152,7 +152,7 @@ pointing only to templates without actual actions.
$self->render;
There is one big difference though, by calling it manually you can make sure
-that templates use the current controller object and not the default
+that templates use the current controller object, and not the default
controller specified in the attribute L<Mojolicious/"controller_class">.
=head2 Rendering templates
@@ -394,8 +394,8 @@ L<Mojolicious/"defaults">.
=head2 Including partial templates
-Like most helpers the helper L<Mojolicious::Plugin::DefaultHelpers/"include">
-is just a shortcut to make your life a little easier.
+Like most helpers L<Mojolicious::Plugin::DefaultHelpers/"include"> is just a
+shortcut to make your life a little easier.
@@ foo/bar.html.ep
<!DOCTYPE html>
View
6 lib/Mojolicious/Guides/Routing.pod
@@ -181,7 +181,7 @@ class, but the router can be accessed from everywhere (even at runtime).
=head2 Routing destination
-After you start a new route with the method L<Mojolicious::Routes/"route">
+After you start a new route with the method L<Mojolicious::Routes/"route">,
you can also give it a destination in the form of a hash using the chained
method L<Mojolicious::Routes/"to">.
@@ -312,7 +312,7 @@ The C<controller> is always appended to the C<namespace> if available.
$r->route('/bye')->to('foo#bye', namespace => 'MyApp::Controller');
You can also change the default namespace for all routes in the application
-with the attribute L<Mojolicious::Routes/"namespace">.
+with the router attribute L<Mojolicious::Routes/"namespace">.
$r->namespace('MyApp::Controller');
@@ -677,7 +677,7 @@ play, they are basically router plugins.
->to(controller => 'foo', action => 'bar');
The method L<Mojolicious::Routes/"add_condition"> registers the new condition
-in the router while L<Mojolicious::Routes/"over"> actually applies it to the
+in the router, while L<Mojolicious::Routes/"over"> actually applies it to the
route.
=head2 Condition plugins
Please sign in to comment.
Something went wrong with that request. Please try again.