Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
31 lines
592 B
Ruby
Executable File
31 lines
592 B
Ruby
Executable File
# frozen_string_literal: true
|
|
|
|
class Authentications::UnlocksController < Devise::UnlocksController
|
|
# 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(resource)
|
|
# end
|
|
|
|
# The path used after unlocking the resource
|
|
# def after_unlock_path_for(resource)
|
|
# super(resource)
|
|
# end
|
|
end
|