This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_DAEMON=1 TEST_PREFORK=1 make test | |
PERL_DL_NONLAZY=1 /usr/local/perl-5.10/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t | |
t/mojo/apache_cgi.t ........................... skipped: Mac OS X required for this test! | |
t/mojo/apache_fastcgi.t ....................... skipped: Mac OS X required for this test! | |
t/mojo/app.t .................................. ok | |
t/mojo/asset.t ................................ ok | |
t/mojo/base.t ................................. ok | |
t/mojo/bytestream.t ........................... ok | |
t/mojo/cgi.t .................................. ok | |
t/mojo/client.t ............................... ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST_DAEMON=1 TEST_PREFORK=1 make test | |
PERL_DL_NONLAZY=1 /usr/local/perl-5.10/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t | |
t/mojo/apache_cgi.t ........................... skipped: Mac OS X required for this test! | |
t/mojo/apache_fastcgi.t ....................... skipped: Mac OS X required for this test! | |
t/mojo/app.t .................................. ok | |
t/mojo/asset.t ................................ ok | |
t/mojo/base.t ................................. ok | |
t/mojo/bytestream.t ........................... ok | |
t/mojo/cgi.t .................................. ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Routes | |
my $r = $self->routes; | |
$r->route('/login')->to('auth#login'); | |
my $auth = $r->bridge('/')->to('auth#check'); | |
my $reports = $auth->route('/reports')->to('reports#'); | |
$reports->route('/my')->to('#my'); |