33 lines
674 B
Ruby
33 lines
674 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Users::ConfirmationsController < Devise::ConfirmationsController
|
|
skip_after_action :verify_authorized
|
|
skip_after_action :verify_policy_scoped
|
|
|
|
# GET /resource/confirmation/new
|
|
def new
|
|
super
|
|
end
|
|
|
|
# POST /resource/confirmation
|
|
def create
|
|
super
|
|
end
|
|
|
|
# GET /resource/confirmation?confirmation_token=abcdef
|
|
def show
|
|
super
|
|
end
|
|
|
|
protected
|
|
|
|
# The path used after resending confirmation instructions.
|
|
def after_resending_confirmation_instructions_path_for(_resource_name)
|
|
super
|
|
end
|
|
|
|
# The path used after confirmation.
|
|
def after_confirmation_path_for(_resource_name, _resource)
|
|
super
|
|
end
|
|
end
|