Pregunta

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.

¿Fue útil?

Solución

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") %>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top