Skip to content

Commit

Permalink
more detailed example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 15, 2014
1 parent 676d421 commit 27f4527
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -560,11 +560,12 @@ L</"session">.
my $helpers = $c->helpers;
Return proxy object on which all helpers provided by L</"app"> can be called.
This includes all helpers from L<Mojolicious::Plugin::DefaultHelpers> and
Return proxy object on which helpers provided by L</"app"> can be called. This
includes all helpers from L<Mojolicious::Plugin::DefaultHelpers> and
L<Mojolicious::Plugin::TagHelpers>.
$c->helpers->layout('green');
# Make sure to use the "title" helper and not the controller method
$c->helpers->title('Welcome!');
=head2 on
Expand Down

0 comments on commit 27f4527

Please sign in to comment.