diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-24 06:38:31 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-10-24 06:38:31 -0700 |
commit | 7f09bcd1810fb8295cde1f54c6eece260fdd4519 (patch) | |
tree | 86726db813b5991e7a5e14169154b2ddf55768a2 /activesupport/lib/active_support/core_ext/string/inflections.rb | |
parent | f7c2a8114136dd872e9d81aa16e93b9b9a148b0b (diff) | |
parent | 9f1a47de5360e97176613fef8dbc57c2c3c22dcf (diff) | |
download | rails-7f09bcd1810fb8295cde1f54c6eece260fdd4519.tar.gz rails-7f09bcd1810fb8295cde1f54c6eece260fdd4519.tar.bz2 rails-7f09bcd1810fb8295cde1f54c6eece260fdd4519.zip |
Merge pull request #8022 from GRoguelon/3-2-stable
Adding a missing parenthesis in the doc of String#parameterize.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/inflections.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/inflections.rb | 2 |
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) |