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.

有帮助吗?

解决方案

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") %>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top