阅读背景:

如何在Rails 3中使用AJAX请求实现重定向响应?

来源:互联网 

I have a simple scenario where I want to request a page. The request format is AJAX. If there is some error in the controller/action logic for that request, I want to redirect to an error page. The issue is that a redirect is not a JavaScript response type, so I am not sure whether it will work. I have a simple scenario where I want to reques




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: