开发者

How to use `redirect_to :back` for ssl required page? which gives 'hostname: Unknown host' error

开发者 https://www.devze.com 2023-02-18 09:37 出处:网络
I am using redirect_to :back to return back to the same page from where an action is get called. Now i got the following error in rails application which is working on heroku

I am using redirect_to :back to return back to the same page from where an action is get called.

Now i got the following error in rails application which is working on heroku

hostname: Unknown host

I think problem is for the page it is givin开发者_Go百科g error required SSL (https) and so it doesn't return back to the page.

How to use redirect_to :back for ssl required page?

Just FI I am using rails 2.3.8

0

精彩评论

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