mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Pending delete or update added to domain log view #2785
This commit is contained in:
parent
e9cf3d2fbe
commit
e988bb6a20
5 changed files with 51 additions and 10 deletions
|
@ -4,6 +4,12 @@ class Admin::DomainVersionsController < AdminController
|
|||
def index
|
||||
@domain = Domain.find(params[:domain_id])
|
||||
@versions = @domain.versions
|
||||
|
||||
if @domain.pending_json.present?
|
||||
frame = Nokogiri::XML(@domain.pending_json['frame'])
|
||||
@pending_user = User.find(@domain.pending_json['current_user_id'])
|
||||
@pending_domain = Epp::Domain.new_from_epp(frame, @pending_user)
|
||||
end
|
||||
end
|
||||
|
||||
# def index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue