From b818cd921613e41df2685d77949eb9d4fe98680b Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Tue, 4 Apr 2006 13:14:35 +0000 Subject: [PATCH] fix ruby syntax in comments for the JavascriptGenerator (closes #4577) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/prototype_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb index 40bb18c624..1dee0f69f0 100644 --- a/actionpack/lib/action_view/helpers/prototype_helper.rb +++ b/actionpack/lib/action_view/helpers/prototype_helper.rb @@ -425,7 +425,7 @@ module ActionView # # # Controller action # def poll - # render :update { |page| page.update_time } + # render(:update) { |page| page.update_time } # end # # You can also use PrototypeHelper#update_page_tag instead of