mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix a typo in deprecation warning. #process takes method instead of http_method.
This commit is contained in:
parent
0ddf2eb9ac
commit
2e62d53c2f
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ module ActionController
|
|||
Examples:
|
||||
|
||||
get :show, params: { id: 1 }, session: { user_id: 1 }
|
||||
process :update, http_method: :post, params: { id: 1 }
|
||||
process :update, method: :post, params: { id: 1 }
|
||||
MSG
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue