link_to with :protocol isn't working

后端 未结 0 1697
一个人的身影
一个人的身影 2021-02-13 07:25

I want to have a link use SSL. I\'m using this code:

<%= link_to \"Buy now!\", line_items_path(:thing_id => @thing), :method => :post, :protocol => \         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题