我正在使用授权许可,并且遇到了一个问题,即发送给潜在新用户的文本和 html 电子邮件确认具有不同的确认 url - 文本有效,而 html 导致路由错误:
No route matches [GET] "/confirm.35"
我有什么配置不正确?我怎样才能解决这个问题?
谢谢!
这是两封电子邮件
----==_mimepart_59d4f36d414c_6463fe23fe154401369b
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Please click below to confirm your new account.
http://localhost:3000/users/35/password/edit?token=d8dadce7863b92fdf27f7c7b474943c209173c6e
If you didn't request this, ignore this email.
----==_mimepart_59d4f36d414c_6463fe23fe154401369b
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Please click below to confirm your new account.</p>
<p>
<a href="http://localhost:3000/confirm.35?token=d8dadce7863b92fdf27f7c7b474943c209173c6e">Confirm account</a>
</p>
<p>If you didn't request this, ignore this email.</p>
----==_mimepart_59d4f36d414c_6463fe23fe154401369b--