Skip to content

Commit

Permalink
mention the first argument too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 2, 2015
1 parent 97923aa commit 024f666
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Changes
@@ -1,6 +1,6 @@

6.01 2015-02-28
- Fixed code name in Mojolicious.
6.01 2015-03-02
- Fixed code name in version command and built-in templates.

6.0 2015-02-26
- Code name "Clinking Beer Mugs", this is a major release.
Expand Down
5 changes: 3 additions & 2 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -674,8 +674,9 @@ commonly used to pass parts of a template to helpers.
=head2 Adding helpers

You should always try to keep your actions small and reuse as much code as
possible. Helpers make this very easy, you can use them to do pretty much
anything an action could do.
possible. Helpers make this very easy, they get passed the current controller
object as first argument and you can use them to do pretty much anything an
action could do.

use Mojolicious::Lite;

Expand Down

0 comments on commit 024f666

Please sign in to comment.