Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed failed render typo

  • Loading branch information...
commit 6f14d32f9b6860122397eefef5b6aae8721e6a1c 1 parent fa1cfd5
@binarylogic authored
Showing with 3 additions and 2 deletions.
  1. +1 −0  .gitignore
  2. +2 −2 app/controllers/password_resets_controller.rb
View
1  .gitignore
@@ -1,4 +1,5 @@
*.sqlite3
+config/initializers/action_mailer_settings.rb
config/deploy.rb
db/schema.rb
config/database.yml
View
4 app/controllers/password_resets_controller.rb
@@ -15,7 +15,7 @@ def create
redirect_to default_url
else
flash[:notice] = "No user was found with that email address"
- render :action => :forgot_password
+ render :action => :new
end
end
@@ -30,7 +30,7 @@ def update
flash[:notice] = "Password successfully updated"
redirect_to account_url
else
- render :action => :edit_password
+ render :action => :edit
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.