mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-09-30 01:44:28 -04:00
Merge pull request #371 from tygriffin/dev
Fix for bug when redirecting after password reset
This commit is contained in:
commit
6c048dec77
2 files changed
+8
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
class PasswordsController < Devise::PasswordsController
|
||||
|
||||
protected
|
||||
def after_resetting_password_path_for(resource)
|
||||
root_path
|
||||
end
|
||||
end
|
||||
+1
-1
@@ -3,7 +3,7 @@ Growstuff::Application.routes.draw do
|
||||
resources :plant_parts
|
||||
|
||||
|
||||
devise_for :members, :controllers => { :registrations => "registrations" }
|
||||
devise_for :members, :controllers => { :registrations => "registrations", :passwords => "passwords" }
|
||||
resources :members
|
||||
|
||||
resources :photos
|
||||
|
||||
Reference in new issue
Block a user