[Jifty-commit] r1665 - jifty/trunk/lib/Jifty/Manual

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jul 24 19:12:31 EDT 2006


Author: audreyt
Date: Mon Jul 24 19:12:31 2006
New Revision: 1665

Modified:
   jifty/trunk/lib/Jifty/Manual/Continuations.pod

Log:
* Jifty::Manual::Continuations: reflect tangent() in the manual.

Modified: jifty/trunk/lib/Jifty/Manual/Continuations.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Continuations.pod	(original)
+++ jifty/trunk/lib/Jifty/Manual/Continuations.pod	Mon Jul 24 19:12:31 2006
@@ -147,8 +147,8 @@
 protection in C<before> blocks:
 
     before '/protected' => sub {
-        Jifty->web->tangent( url => '/login' )
-          unless Jifty->web->current_user->id;
+        # shorthand for: Jifty->web->tangent( url => '/login' )
+        tangent('/login') unless Jifty->web->current_user->id;
     };
 
 And in the C</login> template:


More information about the Jifty-commit mailing list