mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove redundant double quotation marks
This commit is contained in:
parent
ffa9540fd3
commit
ff8f92b2bf
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ module ActionView
|
|||
# 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 ||= {}
|
||||
|
|
Loading…
Reference in a new issue