When logging in and out using devise I know to override the
sign_in_and_redirect method that devise provides in my users sessions
controller, however when I want to get json response when resetting
password, I dont know what method to override and where. I do know of
recoverable module has a method called reset_password that I found
when digging through their code:
But Im not sure if this si the method that I can use to get json
response without breaking anything and I also dont know where to
override this module in my app.
thanks for response
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.