aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-05-10 05:58:52 -0700
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-05-10 05:58:52 -0700
commit04d27153fcefaea380fce63e4c9d6e65b27d78b2 (patch)
tree2e921d85cc53000b9a66150da30112c2c5eb2c3e /actionpack
parentd7abe91cc73a8991033042f4cb7467bba7fa2339 (diff)
parent690fd221c56bfec04cee9c94e8406b93203215ac (diff)
downloadrails-04d27153fcefaea380fce63e4c9d6e65b27d78b2.tar.gz
rails-04d27153fcefaea380fce63e4c9d6e65b27d78b2.tar.bz2
rails-04d27153fcefaea380fce63e4c9d6e65b27d78b2.zip
Merge pull request #10543 from vipulnsward/to_sort
Can you improve the commit message a little bit? It's good to describe why the change is happening.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 8c7524e795..3939e4737b 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -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)