我正在尝试在我的一个控制器中发出redirect_to到一个完全限定的URL +我想传递一些参数
在网站AI的控制器中:
redirect_to: "www.siteB.com/my_controller/my_action?my_parameter=123"
Run Code Online (Sandbox Code Playgroud)
在rails中有更好的方法吗?
ruby ruby-on-rails http-status-code-301 http-status-code-302