mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
parent
bdebfafe85
commit
1c3a482304
1 changed files with 6 additions and 1 deletions
|
@ -3,8 +3,13 @@ class Registrar::PollsController < Registrar::DeppController # EPP controller
|
|||
before_action :init_epp_xml
|
||||
|
||||
def show
|
||||
if Rails.env.test? # Stub for depp server request
|
||||
@data = Object.new
|
||||
def @data.css(key); []; end
|
||||
else
|
||||
@data = depp_current_user.request(@ex.poll)
|
||||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
@data = depp_current_user.request(@ex.poll(poll: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue