1
0
Fork 0
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:
Vipul A M 2013-05-10 11:21:58 +05:30
parent 4ae2309418
commit 690fd221c5

View file

@ -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)