Skip to content

Commit

Permalink
better render_static description
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 13, 2012
1 parent eccfc52 commit 31aa184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Controller.pm
Expand Up @@ -789,7 +789,8 @@ Same as C<render> but returns the rendered result.
my $success = $c->render_static('../lib/MyApp.pm');
Render a static file using L<Mojolicious::Static/"serve">, usually from the
C<public> directory or C<DATA> section of your application.
C<public> directories or C<DATA> sections of your application. Note that this
method does not protect from traversing to parent directories.
=head2 C<render_text>
Expand Down

0 comments on commit 31aa184

Please sign in to comment.