Skip to content

Commit

Permalink
be more specific about how helpers are exposed in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 6, 2015
1 parent 4256b8d commit 766a1a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.72 2015-01-06
5.72 2015-01-07

5.71 2015-01-01
- Updated Net::DNS::Native requirement to 0.15 for some important bug fixes.
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -697,10 +697,10 @@ escaping.
% end

Similar to stash values you can use a prefix like C<myapp.*> to keep helpers
from getting exposed in templates and to organize them into namespaces as your
application grows. Every prefix automatically becomes a helper that returns a
proxy object containing the current controller object and on which you can
call the nested helpers.
from getting exposed in templates as functions, and to organize them into
namespaces as your application grows. Every prefix automatically becomes a
helper that returns a proxy object containing the current controller object
and on which you can call the nested helpers.

use Mojolicious::Lite;

Expand Down

0 comments on commit 766a1a8

Please sign in to comment.