diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-12 02:43:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-12 02:43:37 +0000 |
commit | 7d801ae1c88dc2c29302de9a5feeb86ac5391dae (patch) | |
tree | ca0a913c384eadbaeca195b0d3afd0fda3d4e262 | |
parent | 7ae83e5ff0a1083aecc7e39e3ca0236401f35918 (diff) | |
download | rails-7d801ae1c88dc2c29302de9a5feeb86ac5391dae.tar.gz rails-7d801ae1c88dc2c29302de9a5feeb86ac5391dae.tar.bz2 rails-7d801ae1c88dc2c29302de9a5feeb86ac5391dae.zip |
Added first stab at Javascript/Ajax helpers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 20c2a9cf63..078935af3f 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -1,7 +1,7 @@ require File.dirname(__FILE__) + '/tag_helper' # You must call <%= define_javascript_functions %> in your application before using these helpers. -module JavascriptTagHelper +module JavascriptHelper def link_to_display_toggle(name, tags, html_options = {}) toggle_functions = [ tags ].flatten.collect { |tag| "toggle_display_by_id('#{tag}'); " }.join content_tag( |