开发者

Rails 3: button_to using https

I want to link to a route using the https protocol.

I'm trying:

  <%= button_to '', carts_p开发者_如何学Cath(:service_id => @service),:only_path => false, :protocol => 'https://', :class => "buy-btn"%>

But it still goes to http://...


Already answered it seems, try this: link_to with :protocol isn't working

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜