From 9341f658fd80637f021efe599420d314df0d7cf8 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 9 Sep 2019 16:28:05 +0300 Subject: [PATCH] Hide methods --- app/controllers/epp/base_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/epp/base_controller.rb b/app/controllers/epp/base_controller.rb index bc19670fe..9fa2d4e40 100644 --- a/app/controllers/epp/base_controller.rb +++ b/app/controllers/epp/base_controller.rb @@ -15,6 +15,8 @@ module Epp helper_method :current_user helper_method :resource + private + def validate_against_schema return if ['hello', 'error', 'keyrelay'].include?(params[:action]) schema.validate(params[:nokogiri_frame]).each do |error| @@ -348,8 +350,6 @@ module Epp instance_variable_get("@#{name}") end - private - def signed_in? epp_session end