Ask A Question


You’re not receiving notifications from this thread.

DEVISE: How do I redirect to a custom message page after user signs up and is required to confirm email address ?

prithviraj sukale asked in Gems / Libraries
I want to create a custom page that says "Go confirm your email" after Sign up using Devise

Did you get an answer to this? I'm looking for the same information.


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
  def after_sign_in_path_for(resource)
    # cofirm_email_sent_path

Something like that - a lot like the recommendations for confirmable:

so I looked at the controller for devise registrations:

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.