aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoffrey Roguelon <geoffrey.roguelon@gmail.com>2012-10-24 15:25:35 +0200
committerGeoffrey Roguelon <geoffrey.roguelon@gmail.com>2012-10-24 15:25:35 +0200
commit9f1a47de5360e97176613fef8dbc57c2c3c22dcf (patch)
treeb227e967acfbfbf2c8cee2f9a2f0c060d7a50e48
parent87ac5b42b1ab05f2e72eb4c702742decdceed7c1 (diff)
downloadrails-9f1a47de5360e97176613fef8dbc57c2c3c22dcf.tar.gz
rails-9f1a47de5360e97176613fef8dbc57c2c3c22dcf.tar.bz2
rails-9f1a47de5360e97176613fef8dbc57c2c3c22dcf.zip
Adding a missing parenthesis in the doc of String#parameterize.
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index 2194dafe4d..48c1004eaf 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -149,7 +149,7 @@ class String
# @person = Person.find(1)
# # => #<Person id: 1, name: "Donald E. Knuth">
#
- # <%= link_to(@person.name, person_path %>
+ # <%= link_to(@person.name, person_path) %>
# # => <a href="/person/1-donald-e-knuth">Donald E. Knuth</a>
def parameterize(sep = '-')
ActiveSupport::Inflector.parameterize(self, sep)