mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
sort => sort! on new array
This commit is contained in:
parent
4ae2309418
commit
690fd221c5
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ module ActionView
|
|||
attrs << tag_option(key, value, escape)
|
||||
end
|
||||
end
|
||||
" #{attrs.sort * ' '}".html_safe unless attrs.empty?
|
||||
" #{attrs.sort! * ' '}".html_safe unless attrs.empty?
|
||||
end
|
||||
|
||||
def data_tag_option(key, value, escape)
|
||||
|
|
Loading…
Reference in a new issue