提交 dcabc6c0 编写于 作者: T thedarkone

Remove dead code.

上级 7d9f605f
......@@ -591,9 +591,9 @@ def convert_options_to_data_attributes(options, html_options)
html_options['data-remote'] = 'true'
end
confirm = html_options.delete("confirm")
method, href = html_options.delete("method"), html_options['href']
confirm = html_options.delete('confirm')
method = html_options.delete('method')
add_confirm_to_attributes!(html_options, confirm) if confirm
add_method_to_attributes!(html_options, method) if method
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册