diff --git a/app/controllers/users/confirmations_controller.rb b/app/controllers/users/confirmations_controller.rb new file mode 100644 index 00000000..671be123 --- /dev/null +++ b/app/controllers/users/confirmations_controller.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true +module Users + class ConfirmationsController < Devise::ConfirmationsController + private + def after_confirmation_path_for(resource_name, resource) + sign_in_path + end + end +end diff --git a/app/views/users/confirmations/new.html.erb b/app/views/users/confirmations/new.html.erb index 9c27eb72..5652d2fd 100644 --- a/app/views/users/confirmations/new.html.erb +++ b/app/views/users/confirmations/new.html.erb @@ -8,5 +8,3 @@