Skip to content

Commit

Permalink
mention that the mounted app is adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2015
1 parent 741131a commit 514fa77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/Mount.pm
Expand Up @@ -36,7 +36,7 @@ Mojolicious::Plugin::Mount - Application mount plugin
# Mojolicious::Lite
my $route = plugin Mount => {'/prefix' => '/home/sri/myapp.pl'};
# Adjust the generated route
# Adjust the generated route and mounted application
my $example = plugin Mount => {'/example' => '/home/sri/example.pl'};
$example->to(message => 'It works great!');
my $app = $example->pattern->defaults->{app};
Expand Down

0 comments on commit 514fa77

Please sign in to comment.