[Jifty-commit] r3442 - jifty/trunk/lib/Jifty/Plugin/Authentication/Password

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jun 11 05:07:45 EDT 2007


Author: clkao
Date: Mon Jun 11 05:07:42 2007
New Revision: 3442

Modified:
   jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm

Log:
Plugin view class should respect app page.

Modified: jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Authentication/Password/View.pm	Mon Jun 11 05:07:42 2007
@@ -14,14 +14,13 @@
 =cut
 
 package Jifty::Plugin::Authentication::Password::View;
-use HTML::Entities ();
 use Jifty::View::Declare -base;
 
 { no warnings 'redefine';
 sub page (&) {
     no strict 'refs'; 
     BEGIN {Jifty::Util->require(Jifty->app_class('View'))};
-    &{Jifty->app_class('View') . "::page"}(@_);
+    Jifty->app_class('View')->can('page')->(@_);
 }
 }
 


More information about the Jifty-commit mailing list