[Bps-public-commit] r17619 - Prophet/trunk/lib/Prophet/Server/ViewHelpers

jesse at bestpractical.com jesse at bestpractical.com
Wed Jan 7 17:22:42 EST 2009


Author: jesse
Date: Wed Jan  7 17:22:42 2009
New Revision: 17619

Modified:
   Prophet/trunk/lib/Prophet/Server/ViewHelpers/Function.pm

Log:
* get functions registering again in the web server

Modified: Prophet/trunk/lib/Prophet/Server/ViewHelpers/Function.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Server/ViewHelpers/Function.pm	(original)
+++ Prophet/trunk/lib/Prophet/Server/ViewHelpers/Function.pm	Wed Jan  7 17:22:42 2009
@@ -1,5 +1,10 @@
 package Prophet::Server::ViewHelpers::Function;
 
+use Template::Declare::Tags;
+BEGIN { delete ${__PACKAGE__."::"}{meta}; 
+ delete ${__PACKAGE__."::"}{with};
+}
+
 =head1 NAME
 
 =head1 METHODS
@@ -69,7 +74,7 @@
         . "|";
 
    
-       return qq{<input type="hidden" name="prophet-function-@{[$self->name]}" value="$string" />};
+       outs_raw(qq{<input type="hidden" name="prophet-function-@{[$self->name]}" value="$string" />});
 }
 
 



More information about the Bps-public-commit mailing list