Skip to content

Commit

Permalink
use a slash in growing example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 18, 2014
1 parent 959157c commit 4e08a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -639,7 +639,7 @@ information.

my $r = $self->routes;
$r->any('/')->to('login#index')->name('index');
my $logged_in = $r->under->to('login#logged_in');
my $logged_in = $r->under('/')->to('login#logged_in');
$logged_in->get('/protected')->to('login#protected');
$r->get('/logout')->to('login#logout');
}
Expand Down

0 comments on commit 4e08a92

Please sign in to comment.