Skip to content

Commit

Permalink
Fix trial_end mail for tenant mailer (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
riggraz authored May 13, 2024
1 parent b2dd35c commit 57ed8c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/tenant_mailer/trial_end.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ I'm Riccardo from the Astuto team.
I wanted to let you know that your <%= (Rails.application.trial_period_days / 1.day).to_s %>-day trial has expired and now your feedback space is in read-only mode.
</p>

<%# Do not know why but url helpers and get_url_for do not work, so used workaround! %>
<p>
If you've enjoyed your trial and want to upgrade to a paid plan, you can do so from the <a href="<%= get_url_for(method(:request_billing_page_url)) %>">billing page</a>.
If you've enjoyed your trial and want to upgrade to a paid plan, you can do so from the <a href="https://<%= @tenant.subdomain %>.astuto.io/request_billing_page">billing page</a>.
</p>

<p>
Expand Down

0 comments on commit 57ed8c3

Please sign in to comment.