| Jifty documentation | Contained in the Jifty distribution. |
Jifty::Plugin::TestServerWarnings::View - Downloads test warnings
__jifty/test_warningsOutputs encoded_warnings in Jifty::Plugin::TestServerWarnings to the client.
| Jifty documentation | Contained in the Jifty distribution. |
use strict; use warnings; package Jifty::Plugin::TestServerWarnings::View; use Jifty::View::Declare -base;
template "/__jifty/test_warnings" => sub { my $plugin = Jifty->find_plugin('Jifty::Plugin::TestServerWarnings'); Jifty->web->response->content_type("application/x-perl"); outs_raw($plugin->encoded_warnings); }; 1;