开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜