diff options
author | Jeroen van Dijk <jeroen@jeevidee.nl> | 2010-03-12 13:24:17 +0100 |
---|---|---|
committer | Jeroen van Dijk <jeroen@jeevidee.nl> | 2010-03-12 16:50:14 +0100 |
commit | a098720719c0c99dea119612a31d9ba31bfdcbed (patch) | |
tree | 0bde605bdbdc75f0ff3cd0b1c36adcce531be5a5 /actionpack/lib/action_view/helpers | |
parent | 363616572dcc2a9bb10b226b0a730667b29b4c1d (diff) | |
download | rails-a098720719c0c99dea119612a31d9ba31bfdcbed.tar.gz rails-a098720719c0c99dea119612a31d9ba31bfdcbed.tar.bz2 rails-a098720719c0c99dea119612a31d9ba31bfdcbed.zip |
Updated documentation for block helpers in javascript_helper.rb
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index 8fdaa8cf8d..0a901b2d2b 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -71,7 +71,7 @@ module ActionView # # Instead of passing the content as an argument, you can also use a block # in which case, you pass your +html_options+ as the first parameter. - # <% javascript_tag :defer => 'defer' do -%> + # <%= javascript_tag :defer => 'defer' do -%> # alert('All is good') # <% end -%> def javascript_tag(content_or_options_with_block = nil, html_options = {}, &block) |