libertarian-party/partynest

View on GitHub
app/controllers/users/passwords_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class Users::PasswordsController < Devise::PasswordsController
  skip_after_action :verify_authorized
  skip_after_action :verify_policy_scoped

  # 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

  def after_resetting_password_path_for(_resource)
    super
  end

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