aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-01-05 20:12:01 +0000
committerRick Olson <technoweenie@gmail.com>2007-01-05 20:12:01 +0000
commitf1b45df49ac392378502ba7994fb079fac473d03 (patch)
treeee2c65836fb2d65189180512ddc0dab14aedfbe9 /actionpack/lib
parent73499158df05ed68fb9cf2679286a603db91f1ef (diff)
downloadrails-f1b45df49ac392378502ba7994fb079fac473d03.tar.gz
rails-f1b45df49ac392378502ba7994fb079fac473d03.tar.bz2
rails-f1b45df49ac392378502ba7994fb079fac473d03.zip
[DOCS] fix reference to ActionController::Macros::AutoComplete for #text_field_with_auto_complete. Closes #2578 [Jan Prill]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/java_script_macros_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
index d4a1456561..463fe0e120 100644
--- a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
+++ b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb
@@ -189,9 +189,9 @@ module ActionView
# Wrapper for text_field with added AJAX autocompletion functionality.
#
# In your controller, you'll need to define an action called
- # auto_complete_for_object_method to respond the AJAX calls,
+ # auto_complete_for to respond the AJAX calls,
#
- # See the RDoc on ActionController::AutoComplete to learn more about this.
+ # See the RDoc on ActionController::Macros::AutoComplete to learn more about this.
def text_field_with_auto_complete(object, method, tag_options = {}, completion_options = {})
(completion_options[:skip_style] ? "" : auto_complete_stylesheet) +
text_field(object, method, tag_options) +