Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed renderer example
  • Loading branch information
kraih committed Aug 23, 2012
1 parent b4c0ea8 commit 4a13935
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.34 2012-08-24
- Improved documentation.

3.33 2012-08-23
- Improved Mojo::DOM::HTML to handle bad charsets more gracefully.
- Improved documentation.
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.33';
our $VERSION = '3.34';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -896,8 +896,8 @@ do is add a new C<handler>.
# This part is up to you and your template system :)
...

# Just die or throw a Mojo::Exception object for errors
Mojo::Exception->new('Something went wrong')->throw;
# Just die if an error happens
die 'Something went wrong';

# Pass the rendered result back to the renderer
$$output = 'The rendered result';
Expand Down

0 comments on commit 4a13935

Please sign in to comment.