aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-02-24 16:35:48 -0800
committerXavier Noria <fxn@hashref.com>2012-02-24 16:35:48 -0800
commit3008188cd6c0cca8789e8b7c57a4f896e2ff07d5 (patch)
tree7cb1eb98c228cebaa343a417208f6ab8bf3c7a40 /actionpack/lib/action_view/helpers
parentb7a094536de6fdeb428aa79d21f1e2128169f45e (diff)
downloadrails-3008188cd6c0cca8789e8b7c57a4f896e2ff07d5.tar.gz
rails-3008188cd6c0cca8789e8b7c57a4f896e2ff07d5.tar.bz2
rails-3008188cd6c0cca8789e8b7c57a4f896e2ff07d5.zip
consistently mention first patch, then put
There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates.
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 93f476926c..8d7417809b 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -329,7 +329,7 @@ module ActionView
remote = html_options.delete('remote')
method = html_options.delete('method').to_s
- method_tag = %w{put patch delete}.include?(method) ? method_tag(method) : ""
+ method_tag = %w{patch put delete}.include?(method) ? method_tag(method) : ""
form_method = method == 'get' ? 'get' : 'post'
form_options = html_options.delete('form') || {}