Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
improved application helper explanation
  • Loading branch information
kraih committed Sep 15, 2011
1 parent 40bd59f commit 23f8d51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Mojolicious.pm
Expand Up @@ -759,6 +759,9 @@ In addition to the attributes and methods above you can also call helpers on
instances of L<Mojolicious>.
This includes all helpers from L<Mojolicious::Plugin::DefaultHelpers> and
L<Mojolicious::Plugin::TagHelpers>.
Note that application helpers are always called with a new
C<controller_class> instance, so they can't depend on or change controller
state, which includes request, response and stash.
$app->log->debug($app->dumper({foo => 'bar'}));
Expand Down

0 comments on commit 23f8d51

Please sign in to comment.