Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better description for on method
  • Loading branch information
kraih committed Nov 11, 2011
1 parent 97f7151 commit 0bb0907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -742,8 +742,8 @@ Data storage persistent only for the next request, stored in the session.
my $cb = $c->on(finish => sub {...});
Subscribe to C<tx> event, which is usually a L<Mojo::Transaction::HTTP> or
L<Mojo::Transaction::WebSocket> object.
Subscribe to events of C<tx>, which is usually a L<Mojo::Transaction::HTTP>
or L<Mojo::Transaction::WebSocket> object.
# Emitted when the transaction has been finished
$c->on(finish => sub {
Expand Down

0 comments on commit 0bb0907

Please sign in to comment.