From 1e593db13a83637e5a07a170b7b6a4dbc9b5175e Mon Sep 17 00:00:00 2001
From: Geoffrey Roguelon <geoffrey.roguelon@gmail.com>
Date: Wed, 24 Oct 2012 15:08:58 +0200
Subject: Adding a missing parenthesis in the doc of String#parameterize.

---
 activesupport/lib/active_support/core_ext/string/inflections.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index 6edfcd7493..341e2deec9 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -38,7 +38,7 @@ class String
   end
 
   # The reverse of +pluralize+, returns the singular form of a word in a string.
-  # 
+  #
   # If the optional parameter +locale+ is specified,
   # the word will be singularized as a word of that language.
   # By default, this paramter is set to <tt>:en</tt>.
@@ -160,7 +160,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)
-- 
cgit v1.2.3