Skip to content

Commit

Permalink
better descriptions for a few controller methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 28, 2011
1 parent 74f462b commit e1ef105
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.15 2011-10-29 00:00:00
- Improved documentation.

2.14 2011-10-29 00:00:00
- Deprecated Mojo::DOM->new with arguments.
- Renamed Mojo::IOLoop::Trigger to Mojo::IOLoop::Delay.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -35,7 +35,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.14';
our $VERSION = '2.15';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -968,7 +968,8 @@ Cookies failing signature verification will be automatically discarded.
$c = $c->stash({foo => 'bar'});
$c = $c->stash(foo => 'bar');
Non persistent data storage and exchange.
Non persistent data storage and exchange, application wide default values can
be set with L<Mojolicious/"defaults">.
$c->stash->{foo} = 'bar';
my $foo = $c->stash->{foo};
Expand All @@ -978,7 +979,8 @@ Non persistent data storage and exchange.
my $ua = $c->ua;
A L<Mojo::UserAgent> prepared for the current environment.
Alias for C<$c-E<gt>app-E<gt>ua>.
Usually refers to a L<Mojo::UserAgent> object.
# Blocking
my $tx = $c->ua->get('http://mojolicio.us');
Expand Down

0 comments on commit e1ef105

Please sign in to comment.