mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
parent
77d0ba71e1
commit
8d088109cc
2 changed files with 2 additions and 4 deletions
|
@ -6,6 +6,8 @@ class Epp::PollsController < EppController
|
|||
ack_poll if params[:parsed_frame].css('poll').first['op'] == 'ack'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def req_poll
|
||||
@message = current_user.queued_messages.last
|
||||
|
||||
|
@ -49,8 +51,6 @@ class Epp::PollsController < EppController
|
|||
render_epp_response 'epp/poll/poll_ack'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def validate_poll
|
||||
requires_attribute 'poll', 'op', values: %(ack req), allow_blank: true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue