Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added build_controller example to cookbook

  • Loading branch information...
commit 988bed355ca6640e6e662b332e38a1fd530ceb12 1 parent 236a5f3
@kraih authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Mojolicious/Guides/Cookbook.pod
View
1  lib/Mojolicious/Guides/Cookbook.pod
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.