Skip to content

Commit

Permalink
helper is a function and not a method
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 11, 2012
1 parent 7322149 commit e1c0194
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -234,8 +234,9 @@ logic related to matching usernames and passwords.

1;

A simple helper can be registered with the method L<Mojolicious/"helper"> to
make our C<model> available to all actions and templates.
A simple helper can be registered with the function
L<Mojolicious::Lite/"helper"> to make our C<model> available to all actions
and templates.

#!/usr/bin/env perl
use Mojolicious::Lite;
Expand Down

0 comments on commit e1c0194

Please sign in to comment.