aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorzires <zshuaibin@gmail.com>2013-01-10 10:23:26 +0800
committerzires <zshuaibin@gmail.com>2013-01-10 10:23:26 +0800
commitff8f92b2bf764f92a470572d40cdc8a417b2531b (patch)
treebb5487197de82734240052c7bcb719532a763ee6 /actionpack/lib/action_view/helpers/url_helper.rb
parentffa9540fd361eb34c445568b66abf283b9e658f8 (diff)
downloadrails-ff8f92b2bf764f92a470572d40cdc8a417b2531b.tar.gz
rails-ff8f92b2bf764f92a470572d40cdc8a417b2531b.tar.bz2
rails-ff8f92b2bf764f92a470572d40cdc8a417b2531b.zip
Remove redundant double quotation marks
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index aeee662071..bade121d44 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -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 ||= {}