I have created a ruby on rails application. I am having below scenario
In localhost for getting referrer link i'm using request.env["HTTP_REFERER"]
it's working perfectly not giving null.
I have uploaded the code in heroku , but request.env["HTTP_REFERER"]
is giving nil
, i have checked in heroku logs.
Please provide a suggestion why it's giving nil
? is there any way to get referrer link other than request.env["HTTP_REFERER"]
?