Skip to content
This repository
Browse code

Merge pull request #8863 from zires/dev

Remove redundant double quotation marks [ci skip]
  • Loading branch information...
commit 8d926f58d91020f9a8936ad6908939c0e298907b 2 parents ffa9540 + ff8f92b
Carlos Antonio da Silva authored January 10, 2013
2  actionpack/lib/action_view/helpers/url_helper.rb
@@ -170,7 +170,7 @@ def _back_url # :nodoc:
170 170
       # You can also use custom data attributes using the <tt>:data</tt> option:
171 171
       #
172 172
       #   link_to "Visit Other Site", "http://www.rubyonrails.org/", data: { confirm: "Are you sure?" }
173  
-      #   # => <a href="http://www.rubyonrails.org/" data-confirm="Are you sure?"">Visit Other Site</a>
  173
+      #   # => <a href="http://www.rubyonrails.org/" data-confirm="Are you sure?">Visit Other Site</a>
174 174
       def link_to(name = nil, options = nil, html_options = nil, &block)
175 175
         html_options, options = options, name if block_given?
176 176
         options ||= {}

0 notes on commit 8d926f5

Please sign in to comment.
Something went wrong with that request. Please try again.