Question

My site is working with https protocol. When I am creating a link in an email. It is creating a link with http protocol. My other links are being created correctly but link with created in rufuse scheduler's schedule is getting http. How can I fix this issue?

Thanks in advance.

Was it helpful?

Solution

You can use the :protocol option in a link_to (which I'm assuming you are using).

<%= link_to "Click here", root_url(:protocol => "https") %>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top