Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
even more documentation links
  • Loading branch information
kraih committed Mar 12, 2012
1 parent 312f854 commit 122b2d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -343,8 +343,9 @@ Quick C<GET> requests can be performed right from the command line.

=head2 State keeping

Sessions in L<Mojolicious> pretty much just work out of the box and there is
no setup required, but we suggest setting a more secure passphrase with
Sessions in L<Mojolicious> pretty much just work out of the box once you
start using the method L<Mojolicious::Controller/"session">, there is no
setup required, but we suggest setting a more secure passphrase with
L<Mojolicious/"secret">.

app->secret('Mojolicious rocks');
Expand All @@ -368,8 +369,7 @@ past.

For data that should only be visible on the next request, like a confirmation
message after a 302 redirect, you can use the flash, accessible through the
method L<Mojolicious::Controller/"flash"> and helper
L<Mojolicious::Plugin::DefaultHelpers/"flash">.
method L<Mojolicious::Controller/"flash">.

$self->flash(message => 'Everything is fine.');
$self->redirect_to('goodbye');
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Lite.pm
Expand Up @@ -198,8 +198,8 @@ L<Mojolicious::Guides::Rendering/"Embedded Perl">.
=head2 HTTP
L<Mojo::Message::Request> and L<Mojo::Message::Response> give you full access
to all HTTP features and information.
L<Mojolicious::Controller/"req"> and L<Mojolicious::Controller/"res"> give
you full access to all HTTP features and information.
# /agent
get '/agent' => sub {
Expand Down

0 comments on commit 122b2d3

Please sign in to comment.