Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed typo in handler example
  • Loading branch information
kraih committed Dec 26, 2012
1 parent 982257e commit cdbf89a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.71 2012-12-26
- Improved documentation.

3.70 2012-12-23
- Added accept_interval setting to Hypnotoad.
- Reduced idle CPU usage of Mojo::Reactor::Poll.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -38,7 +38,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.70';
our $VERSION = '3.71';

sub AUTOLOAD {
my $self = shift;
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -906,10 +906,10 @@ do is add a new C<handler>.
my $inline = $options->{inline};

# Check for absolute template path
my $path = $r->template_path($options);
my $path = $renderer->template_path($options);

# Check for appropriate template in DATA section
my $data = $r->get_data_template($options);
my $data = $renderer->get_data_template($options);

# This part is up to you and your template system :)
...
Expand Down

0 comments on commit cdbf89a

Please sign in to comment.