Skip to content

Commit

Permalink
added build_controller example to cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 8, 2014
1 parent 236a5f3 commit 988bed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -314,6 +314,7 @@ with this little L<Mojo::Server> based mock server you can just embed them.
say for @{$app->static->paths};
say $app->config->{secret_identity};
say $app->dumper({just => 'a helper test'});
say $app->build_controller->render(template => 'foo', partial => 1);

The plugin L<Mojolicious::Plugin::Mount> uses this functionality to allow you
to combine multiple applications into one and deploy them together.
Expand Down

0 comments on commit 988bed3

Please sign in to comment.