Parsed frame accessible from only params

This commit is contained in:
Martin Lensment 2015-01-16 16:21:31 +02:00
parent fe74c0bd64
commit 3ed2cddad4
4 changed files with 13 additions and 17 deletions

View file

@ -192,8 +192,8 @@ class Epp::DomainsController < ApplicationController
def domain_transfer_params
res = {}
res[:pw] = parsed_frame.css('pw').first.try(:text)
res[:action] = parsed_frame.css('transfer').first[:op]
res[:pw] = params[:parsed_frame].css('pw').first.try(:text)
res[:action] = params[:parsed_frame].css('transfer').first[:op]
res[:current_user] = current_epp_user
res
end