Permalink
Browse files

Fixed failed render typo

  • Loading branch information...
1 parent fa1cfd5 commit 6f14d32f9b6860122397eefef5b6aae8721e6a1c @binarylogic committed Nov 19, 2008
Showing with 3 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 app/controllers/password_resets_controller.rb
View
@@ -1,4 +1,5 @@
*.sqlite3
+config/initializers/action_mailer_settings.rb
config/deploy.rb
db/schema.rb
config/database.yml
@@ -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

0 comments on commit 6f14d32

Please sign in to comment.