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/unlocks_controller.rb
2018-12-14 10:00:19 +05:00

33 lines
612 B
Ruby

# frozen_string_literal: true
class Users::UnlocksController < Devise::UnlocksController
skip_after_action :verify_authorized
skip_after_action :verify_policy_scoped
# GET /resource/unlock/new
def new
super
end
# POST /resource/unlock
def create
super
end
# GET /resource/unlock?unlock_token=abcdef
def show
super
end
protected
# The path used after sending unlock password instructions
def after_sending_unlock_instructions_path_for(_resource)
super
end
# The path used after unlocking the resource
def after_unlock_path_for(_resource)
super
end
end