mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
12 lines
348 B
Ruby
12 lines
348 B
Ruby
class Registrant::DomainDeleteConfirmsController < RegistrantController
|
|
skip_before_action :authenticate_user!, only: [:show, :create]
|
|
skip_authorization_check only: [:show, :create]
|
|
|
|
def show
|
|
@domain = Domain.find(params[:id])
|
|
@domain = nil unless @domain.registrant_delete_confirmable?(params[:token])
|
|
end
|
|
|
|
def create
|
|
end
|
|
end
|