Update mailers that still read "fizzy"
This commit is contained in:
@@ -3,7 +3,7 @@ class MagicLinkMailer < ApplicationMailer
|
||||
@magic_link = magic_link
|
||||
@identity = @magic_link.identity
|
||||
|
||||
mail to: @identity.email_address, subject: "Sign in to Fizzy"
|
||||
mail to: @identity.email_address, subject: "Sign in to BOXCAR"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<h1 class="title">Confirm your email address change</h1>
|
||||
<p class="subtitle">Hit the button below to use this email address in Fizzy.</p>
|
||||
<p class="subtitle">Hit the button below to use this email address in BOXCAR.</p>
|
||||
|
||||
<%= link_to "Yes use use this email address", email_address_confirmation_url(membership_id: @membership.id, email_address_token: @token), class: "btn" %>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Confirm your email address change
|
||||
<%= "=" * 80 %>
|
||||
|
||||
Hit the link below to use this email address in Fizzy:
|
||||
Hit the link below to use this email address in BOXCAR:
|
||||
|
||||
<%= email_address_confirmation_url(membership_id: @membership.id, email_address_token: @token) %>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<h1 class="title">Sign in to Fizzy</h1>
|
||||
<p class="subtitle">Hit the button below to sign in to Fizzy on this device</p>
|
||||
<h1 class="title">Sign in to BOXCAR</h1>
|
||||
<p class="subtitle">Hit the button below to sign in to BOXCAR on this device</p>
|
||||
|
||||
<%= link_to "Sign in to Fizzy", session_magic_link_url(code: @magic_link.code), class: "btn" %>
|
||||
<%= link_to "Sign in to BOXCAR", session_magic_link_url(code: @magic_link.code), class: "btn" %>
|
||||
|
||||
<p class="margin-block-start-double">If you're signing in on another device, enter this special code:
|
||||
<p class="margin-block-start-double">If you’re signing in on another device, enter this special code:
|
||||
<br><strong class="txt-large"><%= @magic_link.code %></strong>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Sign in to Fizzy
|
||||
Sign in to BOXCAR
|
||||
<%= "=" * 80 %>
|
||||
|
||||
Open this link in your browser to login on this device:
|
||||
|
||||
@@ -10,7 +10,7 @@ class MagicLinkMailerTest < ActionMailer::TestCase
|
||||
end
|
||||
|
||||
assert_equal [ "kevin@37signals.com" ], email.to
|
||||
assert_equal "Sign in to Fizzy", email.subject
|
||||
assert_equal "Sign in to BOXCAR", email.subject
|
||||
assert_match magic_link.code, email.body.encoded
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user