1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/controllers/users/passwords_controller.rb
2018-12-14 10:00:19 +05:00

37 lines
669 B
Ruby

# 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