2017-12-21 17:36:29 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-08-25 02:28:06 +00:00
|
|
|
class <%= @scope_prefix %>UnlocksController < Devise::UnlocksController
|
2014-08-23 21:44:06 +00:00
|
|
|
# GET /resource/unlock/new
|
2014-09-03 03:34:13 +00:00
|
|
|
# def new
|
|
|
|
# super
|
|
|
|
# end
|
2014-08-23 21:44:06 +00:00
|
|
|
|
|
|
|
# POST /resource/unlock
|
2014-09-03 03:34:13 +00:00
|
|
|
# def create
|
|
|
|
# super
|
|
|
|
# end
|
2014-08-23 21:44:06 +00:00
|
|
|
|
|
|
|
# GET /resource/unlock?unlock_token=abcdef
|
2014-09-03 03:34:13 +00:00
|
|
|
# def show
|
|
|
|
# super
|
|
|
|
# end
|
2014-09-03 04:49:37 +00:00
|
|
|
|
|
|
|
# protected
|
|
|
|
|
2014-09-10 01:31:48 +00:00
|
|
|
# The path used after sending unlock password instructions
|
|
|
|
# def after_sending_unlock_instructions_path_for(resource)
|
|
|
|
# super(resource)
|
|
|
|
# end
|
2014-09-03 04:49:37 +00:00
|
|
|
|
2014-09-10 01:31:48 +00:00
|
|
|
# The path used after unlocking the resource
|
|
|
|
# def after_unlock_path_for(resource)
|
|
|
|
# super(resource)
|
|
|
|
# end
|
2014-08-23 21:44:06 +00:00
|
|
|
end
|