mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Story#118300251 - remove old not needed code
This commit is contained in:
parent
572a3f4e1d
commit
47483f8d75
1 changed files with 0 additions and 10 deletions
|
@ -1,18 +1,8 @@
|
|||
class Admin::DomainVersionsController < AdminController
|
||||
load_and_authorize_resource
|
||||
|
||||
# rubocop:disable Style/GuardClause
|
||||
def index
|
||||
@domain = Domain.where(id: params[:domain_id]).includes({versions: :item}).first
|
||||
@versions = @domain.versions
|
||||
|
||||
# Depricated it had to load legal document. We may do it by parsing and adding link.
|
||||
# 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.find(@domain.id)
|
||||
# @pending_domain.update(frame, @pending_user, false)
|
||||
# end
|
||||
end
|
||||
# rubocop:enable Style/GuardClause
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue