mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove dead code.
This commit is contained in:
@@ -591,9 +591,9 @@ module ActionView
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user