aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-09-05 23:14:12 +0000
committerMichael Koziarski <michael@koziarski.com>2007-09-05 23:14:12 +0000
commit491781343925dfa9edcf254e4feb25ce1e0eddd1 (patch)
treebe504b6370d6bcd6e0e200d2fad538a40e7f2b43 /actionpack/lib
parent0d696f09ac5c5106d4343d6a2add565620b2b45c (diff)
downloadrails-491781343925dfa9edcf254e4feb25ce1e0eddd1.tar.gz
rails-491781343925dfa9edcf254e4feb25ce1e0eddd1.tar.bz2
rails-491781343925dfa9edcf254e4feb25ce1e0eddd1.zip
Fix misleading documentation for truncate. [esad] Closes #9104
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/text_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb
index 9a8f0115ad..493fa7c01d 100644
--- a/actionpack/lib/action_view/helpers/text_helper.rb
+++ b/actionpack/lib/action_view/helpers/text_helper.rb
@@ -30,7 +30,7 @@ module ActionView
end
# If +text+ is longer than +length+, +text+ will be truncated to the length of
- # +length+ (defaults to 30) and the last three characters will be replaced with the +truncate_string+
+ # +length+ (defaults to 30) and the last characters will be replaced with the +truncate_string+
# (defaults to "...").
#
# ==== Examples