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

34 lines
612 B
Ruby
Raw Normal View History

2018-12-03 15:26:33 -05:00
# frozen_string_literal: true
class Users::UnlocksController < Devise::UnlocksController
skip_after_action :verify_authorized
skip_after_action :verify_policy_scoped
# GET /resource/unlock/new
2018-12-14 00:00:19 -05:00
def new
super
end
2018-12-03 15:26:33 -05:00
# POST /resource/unlock
2018-12-14 00:00:19 -05:00
def create
super
end
2018-12-03 15:26:33 -05:00
# GET /resource/unlock?unlock_token=abcdef
2018-12-14 00:00:19 -05:00
def show
super
end
2018-12-03 15:26:33 -05:00
2018-12-14 00:00:19 -05:00
protected
2018-12-03 15:26:33 -05:00
# The path used after sending unlock password instructions
2018-12-14 00:00:19 -05:00
def after_sending_unlock_instructions_path_for(_resource)
super
end
2018-12-03 15:26:33 -05:00
# The path used after unlocking the resource
2018-12-14 00:00:19 -05:00
def after_unlock_path_for(_resource)
super
end
2018-12-03 15:26:33 -05:00
end