mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
parent
8d088109cc
commit
bfe9ef3c1f
3 changed files with 58 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
class Epp::PollsController < EppController
|
||||
skip_authorization_check # TODO: move authorization under ability
|
||||
|
||||
def poll
|
||||
authorize! :manage, :poll
|
||||
req_poll if params[:parsed_frame].css('poll').first['op'] == 'req'
|
||||
ack_poll if params[:parsed_frame].css('poll').first['op'] == 'ack'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue