DEVISE: How do I redirect to a custom message page after user signs up and is required to confirm email address ?
I think I will try to override the method:
# app/config/routes.rb
# devise_for :users, :controllers => {:registrations => "registrations"}
# app/controllers/registrations_controller.rb
class RegistrationsController < Devise::RegistrationsController
protected
def after_sign_in_path_for(resource)
# cofirm_email_sent_path
end
Something like that - a lot like the recommendations for confirmable: https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users
so I looked at the controller for devise registrations:
https://github.com/plataformatec/devise/blob/master/app/controllers/devise/registrations_controller.rb)