Skip to content

Commit

Permalink
arguments are required
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 16, 2014
1 parent 79ad961 commit 9193c9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Mojolicious/Renderer.pm
Expand Up @@ -89,7 +89,6 @@ sub get_helper {

sub render {
my ($self, $c, $args) = @_;
$args ||= {};

# Localize "extends" and "layout" to allow argument overrides
my $stash = $c->stash;
Expand Down Expand Up @@ -404,7 +403,6 @@ nested helpers can be called.
=head2 render
my ($output, $format) = $renderer->render(Mojolicious::Controller->new);
my ($output, $format) = $renderer->render(Mojolicious::Controller->new, {
template => 'foo/bar',
foo => 'bar'
Expand Down

0 comments on commit 9193c9e

Please sign in to comment.