Permalink
Browse files

nested routes are the only reason

  • Loading branch information...
1 parent 9cb0485 commit 504b09eeb4bb067243d2a99fabeeb3cae99b560d @kraih committed Feb 17, 2017
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Mojolicious.pm
View
@@ -332,10 +332,10 @@ action dispatching is the last hook in the chain, yours will run before it.
This is a very powerful hook and should not be used lightly, it allows you for
example to pass additional arguments to actions or handle return values
-differently. Note that this hook can be run more than once for the current
-request, for example when using nested routes. (Passed a callback leading
-to the next hook, the current controller object, the action callback and a
-flag indicating if this action is an endpoint)
+differently. Note that this hook can trigger more than once for the same
+request if there are nested routes. (Passed a callback leading to the next hook,
+the current controller object, the action callback and a flag indicating if this
+action is an endpoint)
=head2 before_render

0 comments on commit 504b09e

Please sign in to comment.