Skip to content

Commit

Permalink
Merge pull request rails#8863 from zires/dev
Browse files Browse the repository at this point in the history
Remove redundant double quotation marks [ci skip]
  • Loading branch information
carlosantoniodasilva committed Jan 10, 2013
2 parents ffa9540 + ff8f92b commit 8d926f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/url_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _back_url # :nodoc:
# You can also use custom data attributes using the <tt>:data</tt> option:
#
# link_to "Visit Other Site", "http://www.rubyonrails.org/", data: { confirm: "Are you sure?" }
# # => <a href="http://www.rubyonrails.org/" data-confirm="Are you sure?"">Visit Other Site</a>
# # => <a href="http://www.rubyonrails.org/" data-confirm="Are you sure?">Visit Other Site</a>
def link_to(name = nil, options = nil, html_options = nil, &block)
html_options, options = options, name if block_given?
options ||= {}
Expand Down

0 comments on commit 8d926f5

Please sign in to comment.