does this work for protocol?
This commit is contained in:
parent
69b67f8425
commit
afd7293def
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
<div class="unsubscribe-link">
|
||||
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url(https: !!Rails.env.production?) %>
|
||||
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url(protocol: Rails.env.production? ? :https : :http) %>
|
||||
</div>
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
You can unsubscribe from all Metamaps emails by visiting the following link:
|
||||
|
||||
<%= unsubscribe_notifications_url(https: !!Rails.env.production?) %>
|
||||
<%= unsubscribe_notifications_url(protocol: Rails.env.production? ? :https : :http) %>
|
||||
|
|
Loading…
Reference in a new issue