Implement working mailer and controller

This commit is contained in:
James Espinosa
2013-12-04 00:57:32 -06:00
parent 1a3d6d690c
commit da1845e8f9
14 changed files with 132 additions and 7 deletions
+11 -2
View File
@@ -6,8 +6,17 @@
<body>
<h1>Need help logging in?</h1>
<p>
To reset your RailsGoat password, simply click on the
following link and follow the instructions: <%= @token %>.<br/>
A password reset was requested for your user account.<br>
<br>
To reset your MetaCorp password, simply click on the
following link and follow the instructions:<br>
<br>
<%= link_to "Click here to reset your password", @url %><br>
<br>
If you don't want to change your password, you can ignore this email.
</p>
<p>Thanks, and have a great day!</p>
</body>