提交 133fe85f 编写于 作者: K Kent Sibilev

Removed invocation of deprecated before_action and around_action filter methods.



git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 83d972e3
*SVN*
* Removed invocation of deprecated before_action and around_action filter methods. Corresponding before_invocation and after_invocation methods should be used instead. #6275 [Kent Sibilev]
* Provide access to the underlying SOAP driver. #6212 [bmilekic, Kent Sibilev]
* Deprecation: update docs. #5998 [jakob@mentalized.net, Kevin Clark]
......
......@@ -106,13 +106,7 @@ def web_service_direct_invoke(invocation)
invocation.method_named_params.each do |name, value|
params[name] = value
end
params['action'] = invocation.api_method.name.to_s
if before_action == false
raise(DispatcherError, "Method filtered")
end
return_value = web_service_direct_invoke_without_controller(invocation)
after_action
return_value
web_service_direct_invoke_without_controller(invocation)
end
def log_request(ws_request, body)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册