1
0
Fork 0
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:
Juanito Fatas 2015-01-31 20:58:08 +08:00
parent 0ddf2eb9ac
commit 2e62d53c2f

View file

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