Merge pull request #371 from tygriffin/dev

Fix for bug when redirecting after password reset
This commit is contained in:
Skud committed 2014-07-18 17:30:14 +10:00
commit 6c048dec77
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
class PasswordsController < Devise::PasswordsController
protected
def after_resetting_password_path_for(resource)
root_path
end
end
+1 -1
View File
@@ -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