提交 ec13ef75 编写于 作者: D Dillon Welch

Fix typo

上级 019c8ae8
......@@ -590,7 +590,7 @@ def link_to_remote_options?(options)
def add_method_to_attributes!(html_options, method)
if method && method.to_s.downcase != "get" && html_options["rel"] !~ /nofollow/
if html_options.("rel").blank?
if html_options["rel"].blank?
html_options["rel"] = "nofollow"
else
html_options["rel"] = "#{html_options["rel"]} nofollow"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册