Skip to content

Commit

Permalink
[#7] Fixed grammar issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmckissock committed Jun 26, 2024
1 parent 080f94d commit 9fdab1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/password_resets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def create
# Send email
PasswordMailer.with(user: @user).reset.deliver_later
end
redirect_to root_path, notice: "If an account with that email was found, we have senta link to reset your password"
redirect_to root_path, notice: "If an account with that email was found, we have sent a link to reset your password"
end

def edit
Expand Down
2 changes: 1 addition & 1 deletion app/views/password_mailer/reset.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Hi <%= params[:user].email %>,

Someone requested a reset of your password.

if this was you, click thel ink to reset your passwor. The link will expire automatically in 15 minutes.
If this was you, click the link to reset your password. The link will expire automatically in 15 minutes.

<%= password_reset_edit_url(token: @token) %>
2 changes: 1 addition & 1 deletion app/views/password_mailer/reset.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Hi <%= params[:user].email %>,

Someone requested a reset of your password.

if this was you, click thel ink to reset your passwor. The link will expire automatically in 15 minutes.
If this was you, click the link to reset your password. The link will expire automatically in 15 minutes.

<%= password_reset_edit_url(token: @token) %>
2 changes: 1 addition & 1 deletion app/views/password_resets/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1>Forgot your password?</h1>
<p>password reset functionality does not work on the deployed version</p>
<p>Password reset functionality does not work on the deployed version</p>
<%= form_with url: password_reset_path do |form|%>
<%= form.label :email %>
<%= form.text_field :email, placeholder: "Email" %>
Expand Down

0 comments on commit 9fdab1c

Please sign in to comment.