[Jifty-commit] r3349 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Jun 4 15:06:01 EDT 2007
Author: clkao
Date: Mon Jun 4 15:05:56 2007
New Revision: 3349
Modified:
jifty/trunk/lib/Jifty/Web.pm
Log:
Make Jifty->web->out work during the dispatch rule stage.
Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm (original)
+++ jifty/trunk/lib/Jifty/Web.pm Mon Jun 4 15:05:56 2007
@@ -106,8 +106,8 @@
=cut
sub out {
- Carp::cluck unless defined $_[0]->mason;
- shift->mason->out(@_);
+ my $m = shift->mason;
+ $m ? $m->out(@_) : Jifty::View::out_method(@_);
}
More information about the Jifty-commit
mailing list