Sha256: 83aea6531b73f16692eb87c81f071434100193c90a6ff5ccfc212962fb47f13a

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

# frozen_string_literal: true

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

      # GET /resource/password/new
      # def new
      #   super
      # end

      # POST /resource/password
      # def create
      #   super
      # end

      # GET /resource/password/edit?reset_password_token=abcdef
      # def edit
      #   super
      # end

      # PUT /resource/password
      # def update
      #   super
      # end

      protected

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

      # def after_resetting_password_path_for(resource)
      #   super(resource)
      # end

      # The path used after sending reset password instructions
      # def after_sending_reset_password_instructions_path_for(resource_name)
      #   super(resource_name)
      # end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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