[Jifty-commit] r6377 - in jifty/trunk: lib/Jifty/View/Declare

Jifty commits jifty-commit at lists.jifty.org
Fri Feb 20 18:48:36 EST 2009


Author: sartak
Date: Fri Feb 20 18:48:36 2009
New Revision: 6377

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/View/Declare/Helpers.pm

Log:
 r80316 at onn:  sartak | 2009-02-20 18:48:31 -0500
 Doc: Need to assign new_action to $action


Modified: jifty/trunk/lib/Jifty/View/Declare/Helpers.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/Helpers.pm	(original)
+++ jifty/trunk/lib/Jifty/View/Declare/Helpers.pm	Fri Feb 20 18:48:36 2009
@@ -177,7 +177,7 @@
 Takes a subroutine reference or block of perl as its only argument and renders it as a Jifty C<form>,
 for example:
 
-    new_action class => 'CreateTask';
+    my $action = new_action class => 'CreateTask';
     form {
         form_next_page url => '/';
         render_action $action;


More information about the Jifty-commit mailing list