diff options
Diffstat (limited to 'actionpack/lib/action_view')
-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( |