Skip to content

Commit

Permalink
fixed a few small documentation errors (closes #475)
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 9, 2013
1 parent e878358 commit 67523ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Log.pm
Expand Up @@ -131,8 +131,8 @@ or C<STDERR>.
my $level = $log->level;
$log = $log->level('debug');
Active log level, defaults to the value of the MOJO_LOG_LEVEL environment
variable or C<debug>.
Active log level, defaults to C<debug>. Note that the MOJO_LOG_LEVEL
environment variable can override this value.
These levels are currently available:
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -624,7 +624,7 @@ information.
my $r = $self->routes;
$r->any('/')->to('login#index')->name('index');
my $logged_in = $r->under->to('login#logged_in');
$logged_in->get('/protected');
$logged_in->get('/protected')->to('login#protected');
$r->get('/logout')->to('login#logout');
}

Expand Down

0 comments on commit 67523ed

Please sign in to comment.