Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的网站正在使用https协议。当我在电子邮件中创建链接时。它正在创建与http协议的链接。我的其他链接正在正确创建,但在rufuse调度程序的计划中创建的链接正在获取http. 我该如何解决这个问题?
https
http
rufuse
提前致谢。
您可以:protocol在 a 中使用该选项link_to(我假设您正在使用该选项)。
:protocol
link_to
<%= link_to "Click here", root_url(:protocol => "https") %>