LoginSignup
3
4

More than 5 years have passed since last update.

deviseで会員登録後に確認メールを送ったあとの送信完了画面を表示させる

Posted at

実装

class Users::RegistrationsController < Devise::RegistrationsController

  def confirm
  end

  protected

  # The path used after sign up for inactive accounts.
  def after_inactive_sign_up_path_for(resource)
    confirm_users_sign_up_path
    # あとはroutingとviewを作る
  end
end

大体のことは...

overrideできるのでgithubを読むと良い
devise/app/controllers/devise/registrations_controller.rb

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4