Skip to content

Commit

Permalink
added build_controller example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 8, 2014
1 parent 1f94c39 commit 236a5f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

4.88 2014-03-08
4.88 2014-03-09
- Added build_controller method to Mojolicious.
- Improved Mojo::Server::Daemon to handle setuid/setgid errors more
gracefully.
Expand Down
3 changes: 3 additions & 0 deletions lib/Mojolicious.pm
Expand Up @@ -546,6 +546,9 @@ new ones.
Build default controller object with L</"defaults">, which is usually a
L<Mojolicious::Controller> object.
# Render template from application
my $foo = $app->build_controller->render(template => 'foo', partial => 1);
=head2 build_tx
my $tx = $app->build_tx;
Expand Down

0 comments on commit 236a5f3

Please sign in to comment.