Registrant domain update confirmation

This commit is contained in:
Priit Tark 2015-05-19 15:05:52 +03:00
parent 254849494f
commit ee39181094
16 changed files with 236 additions and 10 deletions

View file

@ -0,0 +1,12 @@
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