Fixed 404 when resending verification email (#2110)

This commit is contained in:
Ahmad Farhat
2020-09-21 15:32:05 -04:00
committed by GitHub
parent 360783606e
commit 816cefe1b6
2 changed files with 11 additions and 8 deletions

View File

@ -22,7 +22,7 @@
<div class="card-body">
<p><%= t("verify.not_verified") %></p>
<div class="btn-list text-right pt-8">
<%= button_to t("verify.resend"), resend_email_path, params: { token: params['token'], email_verified: false }, class: "btn btn-primary btn-space", "data-disable": "" %>
<%= button_to t("verify.resend"), resend_email_path, params: { digest: params[:digest], email_verified: false }, class: "btn btn-primary btn-space", "data-disable": "" %>
</div>
</div>
</div>