diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-04-04 13:14:35 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-04-04 13:14:35 +0000 |
commit | b818cd921613e41df2685d77949eb9d4fe98680b (patch) | |
tree | 37b108783ec907ce8fff40c1b08357ce162578ca /actionpack/lib | |
parent | 46796e74cfbb8f07b9bfc6d28dcf9867f4c664c0 (diff) | |
download | rails-b818cd921613e41df2685d77949eb9d4fe98680b.tar.gz rails-b818cd921613e41df2685d77949eb9d4fe98680b.tar.bz2 rails-b818cd921613e41df2685d77949eb9d4fe98680b.zip |
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
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/prototype_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |