开发者

How do I redirect back to the action that the action was called from?

开发者 https://www.devze.com 2023-01-13 06:27 出处:网络
I could pass in a params[:action_callback], but wondering if there is a more elegant way to approach this?

I could pass in a params[:action_callback], but wondering if there is a more elegant way to approach this?

1) I called /submit_posting from the /network page
2) After submit_posting does their magic, i want to开发者_StackOverflow do a redirect back to /network


redirect_to :back

0

精彩评论

暂无评论...
验证码 换一张
取 消