From 769e185666c445dc4ee1d7b94ad967736485d8ad Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Sat, 10 Feb 2018 22:38:21 +0200 Subject: [PATCH] Hide methods #697 (cherry picked from commit 8d08810) --- app/controllers/epp/polls_controller.rb | 4 ++-- doc/controllers_complete.svg | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/controllers/epp/polls_controller.rb b/app/controllers/epp/polls_controller.rb index fb032975f..44f8afdc1 100644 --- a/app/controllers/epp/polls_controller.rb +++ b/app/controllers/epp/polls_controller.rb @@ -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 diff --git a/doc/controllers_complete.svg b/doc/controllers_complete.svg index 68d02cf4a..765d4a08b 100644 --- a/doc/controllers_complete.svg +++ b/doc/controllers_complete.svg @@ -86,9 +86,7 @@ Epp::PollsController -ack_poll poll -req_poll _layout