Sha256: 36bd8e69c03e87792796667a3c89a22570b149f704f4d49ee6b7cfe9edfeba9a

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

# frozen_string_literal: true

module Elabs
  module Auth
    class ConfirmationsController < Devise::ConfirmationsController
      include Elabs::Concerns::ElabsController
      include Elabs::Concerns::Reportable
      include Elabs::Concerns::Localizable

      # 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

      # Override the default "new_session_path" method to return a known path
      def new_session_path(*)
        new_user_session_path
      end

      # The path used after resending confirmation instructions.
      # def after_resending_confirmation_instructions_path_for(resource_name)
      #   super(resource_name)
      # end

      # The path used after confirmation.
      # def after_confirmation_path_for(resource_name, resource)
      #   super(resource_name, resource)
      # end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elabs-5.0.0 app/controllers/elabs/auth/confirmations_controller.rb
elabs-4.0.0 app/controllers/elabs/auth/confirmations_controller.rb
elabs-3.0.0 app/controllers/elabs/auth/confirmations_controller.rb
elabs-2.0.0 app/controllers/elabs/auth/confirmations_controller.rb
elabs-2.0.0.pre app/controllers/elabs/auth/confirmations_controller.rb