devise forgot password function not working when creating own user controller?

Posted by ragupathi on Stack Overflow See other posts from Stack Overflow or by ragupathi
Published on 2012-10-29T05:43:36Z Indexed on 2012/10/29 11:01 UTC
Read the original article Hit count: 168

I use devise for authentication and i have created a user controller and specified as shown below in my routes which lets me to create users,edit and delete users,

devise_for :users do
resources :users, :only => [:index, :new, :create, :edit, :update, :destroy]
end

but i cannot able to make the forgot password functionality work using this but in case i specify as

devise_for :users

then i can able to use the forgot password function that comes with devise and i could not able to create , edit or delete when i specify like this. So how can i make both to work ? please help me

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails-3